[Bug middle-end/105469] "execution reached an unreachable program point" with -flto since r5-7027-g0b986c6ac777aa4e
remi.coulom at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed May 11 12:47:31 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105469
--- Comment #14 from Rémi Coulom <remi.coulom at gmail dot com> ---
Thanks for investigating the bug.
Can you recommend a workaround at this point?
I don't want to tell users of the library to change their compilation options,
so I tried this in class Client_Data:
#ifdef __GNUC__
// Workaround for gcc bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105469
__attribute__ ((noinline))
#endif
void update()
{
...
}
It seems to be working OK for the moment, but all kinds of random changes to
the code seemed to make the bug appear or disappear in the past, so I am not
completely satisfied with this situation. Can you explain the bug better? Do
you have any recommendation?
Thanks.
More information about the Gcc-bugs
mailing list