gcc-4.1-20050702 ICE in cgraph_early_inlining, at ipa-inline.c:990
Andrew Pinski
pinskia@physics.uc.edu
Tue Jul 5 23:35:00 GMT 2005
On Jul 5, 2005, at 5:02 PM, Daniel Kegel wrote:
> 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
I reduced it much further:
void __add_entropy_words(void);
void __wake_up(void);
void SHATransform(void);
static inline __attribute__((always_inline)) void
add_entropy_words(void){}
void extract_entropy(void);
static inline __attribute__((always_inline)) void
xfer_secondary_pool(void)
{
extract_entropy();
add_entropy_words();
}
void extract_entropy(void)
{
xfer_secondary_pool();
__wake_up();
}
void init_std_data(void)
{
add_entropy_words();
}
void rand_initialize(void)
{
init_std_data();
}
-- Pinski
More information about the Gcc
mailing list