> 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

Reply via email to