]> git.ipfire.org Git - thirdparty/gcc.git/commit
Remove accidental hack in ipa_polymorphic_call_context::set_by_invariant
authorJan Hubicka <jh@suse.cz>
Wed, 17 Jan 2024 18:16:47 +0000 (19:16 +0100)
committerJan Hubicka <jh@suse.cz>
Wed, 17 Jan 2024 18:16:47 +0000 (19:16 +0100)
commit4f4820964ebffc03249d98239a4ad2b43dd1a486
treebd685a07415a5dcbdfc2e7bd741bfaf95de43ef4
parentf74dd70c3c7ef2ac19bca33de5fb03a73fbcd339
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.
gcc/ipa-polymorphic-call.cc