This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/44076] New: -MT <target> behaves different as -MT<target> (w/o space)
- From: "christian dot eggers at kathrein dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 May 2010 10:06:47 -0000
- Subject: [Bug driver/44076] New: -MT <target> behaves different as -MT<target> (w/o space)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
> cat test.c
#include "test.h"
int main(void)
{
return 0;
}
/* EOF */
> gcc -c -o test.o -MMD -MT other.c test.c
> cat test.d
other.c: test.c test.h
==> seems to be correct
> gcc -c -o test.o -MMD -MTother.c test.c
> cat test.d
other.c test.o: test.c test.h
==> seems to be wrong
"-MT<file>" should either behave equal as "-MT <file>" or be rejected.
--
Summary: -MT <target> behaves different as -MT<target> (w/o
space)
Product: gcc
Version: 4.4.3
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: driver
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: christian dot eggers at kathrein dot de
GCC build triplet: don't care
GCC host triplet: don't care
GCC target triplet: don't care
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44076