> 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