[Bug bootstrap/124406] [16 Regression] LTO profiledbootstrap with bootstrap-lto-lean fails on s390x-linux due to coverage mismatch
hubicka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 11 17:02:45 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124406
--- Comment #13 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
For calls of interposable function, the result of ipa-pure-const are not used.
So this is why we are trying to skip it. ipa-pure-const will detect the
property, will call i.e. set_nothrow_flag which will do nothing since the
symbol is interposable.
I think we simply want to drop the flag_lto check. LTO only makes a difference
for ipa-pure-const, but not for local one and this is gating local pure const.
Looking at history, this is a result of commonising the lto/non-LTO path and
then separating it again.
Honza
More information about the Gcc-bugs
mailing list