This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47485] New: gfortran -M output is incorrect when -MT option is used
- From: "thenlich at users dot sourceforge.net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 27 Jan 2011 06:58:12 +0000
- Subject: [Bug fortran/47485] New: gfortran -M output is incorrect when -MT option is used
- Auto-submitted: auto-generated
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