Hide Forgot
Description of problem: the dependency file gcc produced a broken file Version-Release number of selected component (if applicable): gcc (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4) How reproducible: consistantly Steps to Reproduce: 1.create a simple a.c like following int a() {} 2. run the following command to compile gcc -c -Wp,-MD,a.o.dep -Wp,-MT,a.o -Wp,-MP -o a.o a.c Actual results: $cat a.o.dep a.o a.o: a.c Expected results: $cat a.o.dep a.o: a.c Additional info:
Linux amd64 version only
gcc -v 2>&1 | egrep 'Target|gcc version'; gcc -c -Wp,-MD,a.o.dep -Wp,-MT,a.o -Wp,-MP -o a.o a.c; cat a.o.dep Target: x86_64-redhat-linux gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC) a.o: a.c Can't reproduce.