This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/12448] -MT / -MQ don't behave as documented.
- From: "vvas at hal dot csd dot auth dot gr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Oct 2003 18:17:13 -0000
- Subject: [Bug driver/12448] -MT / -MQ don't behave as documented.
- References: <20030929205632.12448.taylor@candd.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.