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]

cp /dev/null empty.c; gcc -c empty.c gives bogus error status


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

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