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/44076] New: -MT <target> behaves different as -MT<target> (w/o space)


> 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


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