[Bug middle-end/105469] "execution reached an unreachable program point" with -flto since r5-7027-g0b986c6ac777aa4e

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 4 11:01:50 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105469

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
On the original testcase I see
First context does not permit base -> invalid
No devirtualization target in void
joedb::Readonly_Journal::play_until_checkpoint.constprop(joedb::Writable&)/2704
It is unclear why play_until_checkpoint would be cloned, it doesn't have any
args that would be IPA-CP propagated.  The checkpoint virtual call has, but
until it is devirtualized we can't optimize it.


More information about the Gcc-bugs mailing list