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

--- Comment #17 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <[email protected]>:

https://gcc.gnu.org/g:248298e48ee5bf3c2cc339111328c832af267b6b

commit r16-8038-g248298e48ee5bf3c2cc339111328c832af267b6b
Author: Richard Biener <[email protected]>
Date:   Thu Mar 12 13:03:02 2026 +0100

    bootstrap/124406 - fix lean LTO profiledboostrap

    On s390x we are seeing CFG divergence when using the boostrap-lto-lean
    config with profiledbootstrap which uses a non-LTO build for
    stageprofile and a LTO build for stagefeedback.  This is caused by
    local IPA pure-const skipping some analysis only when not doing LTO.

    The following removes this divergence.  Proposed by Honza in the PR,
    profilebootstrapped with bootstrap-lto-lean on s390x-linux-gnu.

            PR bootstrap/124406
            * ipa-pure-const.cc (skip_function_for_local_pure_const):
            Do not analyze interposable functions when LTO is enabled.

Reply via email to