This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: ICE in mainline when compiling linux kernel on i386
- From: Jan Hubicka <jh at suse dot cz>
- To: Andi Kleen <ak at muc dot de>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 12 Jan 2003 15:49:46 +0100
- Subject: Re: ICE in mainline when compiling linux kernel on i386
- References: <20030112135919.GA14752@averell>
> While compiling the 2.5.56 linux kernel on i386-linux.
>
> Compile the attached file with
>
> gcc -x c -O2 -fomit-frame-pointer -march=athlon
>
> kernel/signal.c: In function `__dequeue_signal':
> kernel/signal.c:466: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
Hi,
this looks pretty involved - it looks like the bug comes from goto
statement with no matching label produced by tree inliner. It is not
matching because goto is on the place of expression where normally goto
can't be, but inliner does so anyway. I am not so familiar with that
code. Can you please just report it? I am in the middle of other work
so perhaps someone else will take a look on it in meantime..
Thanks!
Honza
>
> Version
>
> Reading specs from /pkg/gcc-3.4/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.4/specs
> Configured with: ../gcc/configure --prefix=/pkg/gcc-3.4-030111 --enable-languages=c,c++ : (reconfigured)
> Thread model: posix
> gcc version 3.4 20030111 (experimental)
>