[gnu.gcc.bug] bug in gcc driver

jv@mhres.mh.nl (Johan Vromans) (04/14/89)

Background: GCC version 1.33 on HP9000/320 running HP-UX 6.2 

If the GCC-preprocessor is missing, GCC terminates without doing
anything. Not even a warning or other diagnostic message.

Example: compile a test program (essentially empty), rename gcc-cpp
	 and re-try the compilation

~ > cat t.c
main ()
{
;
}

~ > gcc -v -c t.c
gcc version 1.33
 /usr/local/lib/gcc-cpp -v -undef -D__GNUC__ -Dhp9000s200 -Dhp9000s300 -DPWB -Dmc68k -Dmc68000 -Dhpux -Dunix -D__hp9000s200__ -D__hp9000s300__ -D__PWB__ -D__mc68k__ -D__mc68000__ -D__hpux__ -D__unix__ -D__HAVE_68881__ -D__HPUX_ASM__ t.c /tmp/cca09560.cpp
GNU CPP version 1.33
 /usr/local/lib/gcc-cc1 /tmp/cca09560.cpp -quiet -dumpbase t.c -version -o /tmp/cca09560.s
GNU C version 1.33 (68k, SGS/hpux syntax) compiled by GNU C version 1.33.
 as /tmp/cca09560.s -o t.o
~ > mv /usr/local/lib/gcc-cpp /usr/local/lib/gcc--cpp
~ > gcc -v -c t.c
gcc version 1.33
 cpp -v -undef -D__GNUC__ -Dhp9000s200 -Dhp9000s300 -DPWB -Dmc68k -Dmc68000 -Dhpux -Dunix -D__hp9000s200__ -D__hp9000s300__ -D__PWB__ -D__mc68k__ -D__mc68000__ -D__hpux__ -D__unix__ -D__HAVE_68881__ -D__HPUX_ASM__ t.c /tmp/cca09567.cpp
~ > 
~ > 

End of example.
-- 
Johan Vromans			 jv@mh.nl via european backbone (mcvax)
Multihouse Automatisering bv		uucp: ..!{mcvax,hp4nl}!mh.nl!jv
Doesburgweg 7					  phone: +31 1820 62944
2803 PL Gouda - The Netherlands			    fax: +31 1820 62500