This is the mail archive of the gcc@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]
Other format: [Raw text]

ICE with -M and -include


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.


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