ICE with -M and -include

Serge Belyshev 1319@bot.ru
Wed Feb 18 23:09:00 GMT 2004


Such combination of arguments produces ICE on any input files.

$ touch a.c b.h
$ gcc -M a.c -include b.h
a.c:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$ gcc --version | grep gcc
gcc (GCC) 3.4.0 20040218 (prerelease)
$ uname -a
Linux localhost 2.6.3 #67 Wed Feb 18 10:34:41 MSK 2004 i686 unknown unknown GNU/Linux
$

This silently (!) breaks glibc build in signal/ because output from
gcc piped through sed (and sed returns EXIT_SUCCESS...) so nobody
knows that there was boom.

I found nothing like this in bugzilla, so please confirm that this is
a bug, not feature ( :-).
-- 
Best regards,								Serge.



More information about the Gcc mailing list