This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/47485] New: gfortran -M output is incorrect when -MT option is used


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47485

           Summary: gfortran -M output is incorrect when -MT option is
                    used
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: thenlich@users.sourceforge.net


When "-MT target" (Change the target of the rule emitted by dependency
generation) is specified, the specified target is added as an additional target
instead of replacing the default one.

Example test.for:
      program test
      print "(a)", "hello world"
      end program

$ gfortran -cpp -M test.for -MT obj/test.o
test.o obj/test.o: test.for

Expected output:
obj/test.o: test.for


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]