------- Comment #3 from maslowski73 at wp dot pl  2005-11-08 12:09 -------
GCC version 3.3.6 and 3.3.2 have this bug either.

The dependency files appear in the current directory.

But, if the preprocessing fails the dependency file (although empty) remains in
the right place.

How to repeat:

echo "#include" > test.c
gcc -MD -o /tmp/test.o -c test.c
ls -l /tmp/test.d
cat /tmp/test.d

echo "#include <stdio.h>" > test.c
gcc -MD -o /tmp/test.o -c test.c
ls -l /tmp/test.d ./test.d

cat /tmp/test.d
cat ./test.d


-- 

maslowski73 at wp dot pl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maslowski73 at wp dot pl


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=215

Reply via email to