This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-4.1-20050702 ICE in cgraph_early_inlining, at ipa-inline.c:990
- From: Daniel Kegel <dkegel at google dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 05 Jul 2005 14:02:21 -0700
- Subject: Re: gcc-4.1-20050702 ICE in cgraph_early_inlining, at ipa-inline.c:990
Jan Hubicka <hubicka@ucw.cz> wrote:
I get this error compiling linux-2.6.11.3 with gcc-4.1-20050702 on many
targets:
drivers/char/random.c:1813: internal compiler error: in cgraph_early_inlining, at ipa-inline.c:990
I don't have the preprocessed source handy, but I can provide it if
this hasn't already been reported.
Having preprocessed testcase would be nice. Obvious fix would be to
disable warning during early inlining, but I can't come of scenario
where the early inliner should miss always inline call.
OK. I've reduced it a bit, but it's still 7700 lines.
It's at http://kegel.com/gcc/ipa-inline-ice.i.txt
Here's the command that fails:
/opt/crosstool/gcc-4.1-20050702-glibc-2.3.5/powerpc-750-linux-gnu/bin/powerpc-750-linux-gnu-gcc -O y.i
y.i: In function 'extract_entropy':
y.i:7342: sorry, unimplemented: inlining failed in call to 'add_entropy_words': function not considered for inlining
y.i:7496: sorry, unimplemented: called from here
y.i: At top level:
y.i:7601: internal compiler error: in cgraph_early_inlining, at ipa-inline.c:990