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 driver/12448] -MT / -MQ don't behave as documented.


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.


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