[Bug driver/12448] -MT / -MQ don't behave as documented.
vvas at hal dot csd dot auth dot gr
gcc-bugzilla@gcc.gnu.org
Sun Oct 5 18:17:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448
vvas at hal dot csd dot auth dot gr changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vvas at hal dot csd dot auth
| |dot gr
------- Additional Comments From vvas at hal dot csd dot auth dot gr 2003-10-05 18:17 -------
Hello,
I just came to Bugzilla to report this bug, and bumped into this existing bug
report. Since this is currently set as UNCONFIRMED, I'd simply like to point out
that the bug is very easily reproducible. For example:
$ touch foo.h
$ echo '#include "foo.h"' > foo.c
$ gcc -c -MD foo.c -MT foo.d -o foo.o
$ cat foo.d
foo.d foo.o: foo.c foo.h
Now, since -MT is advertised to "set the target to be exactly the string you
specify", and indeed does that in all other cases (i.e., except when it's
specified along with both -MD and -o), this is an obviously wrong behaviour.
More information about the Gcc-bugs
mailing list