[PATCH] Don't ICE on non-initialized odr_hash during gimple folding (PR ipa/59947)

Jan Hubicka hubicka@ucw.cz
Tue Feb 4 17:28:00 GMT 2014


> Hi!
> 
> On this testcase the TU is -O0, but a particular function is -O2.
> The -O0 means odr_hash isn't created, but during fold_gimple_call
> we call possible_polymorphic_call_targets because -fdevirtualize
> is true in the current function (as it is -O2) and ICE because
> we assume odr_hash can be used safely.
> 
> Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux,
> ok for trunk?

OK, thank you!
Honza



More information about the Gcc-patches mailing list