https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94629
Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #26 from Martin Jambor <jamborm at gcc dot gnu.org> --- (In reply to Martin Liška from comment #25) > No, there's still the 'ipa_polymorphic_call_context::set_by_invariant' issue > that's waiting for Honza. Finally fixed with: https://gcc.gnu.org/g:4f4820964ebffc03249d98239a4ad2b43dd1a486 commit r14-8191-g4f4820964ebffc03249d98239a4ad2b43dd1a486 Author: Jan Hubicka <j...@suse.cz> Date: Wed Jan 17 19:16:47 2024 +0100 Remove accidental hack in ipa_polymorphic_call_context::set_by_invariant I managed to commit a hack setting offset to 0 in ipa_polymorphic_call_context::set_by_invariant. This makes it to give up on multiple inheritance, but most likely won't give bad code since the ohter base will be of different type. gcc/ChangeLog: * ipa-polymorphic-call.cc (ipa_polymorphic_call_context::set_by_invariant): Remove accidental hack reseting offset.