This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
cp /dev/null empty.c; gcc -c empty.c gives bogus error status
- To: gcc-bugs at gcc dot gnu dot org
- Subject: cp /dev/null empty.c; gcc -c empty.c gives bogus error status
- From: Mike Coleman <mcoleman2 at kc dot rr dot com>
- Date: Fri, 13 Oct 2000 05:16:04 -0500 (CDT)
This
cp /dev/null empty.c
gcc -c empty.c -o empty || echo bogus
will output 'bogus', which is wrong (or breaks the build of glibc anyway). It
looks like the preprocessor is being invoked, but not cc1.
This is for a gcc built out of cvs approximately Sep 29 (20000929). I tried
to check whether this might be fixed in the current head, but it won't compile
for me.
--Mike