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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alexandre Oliva <aol...@gcc.gnu.org>:

https://gcc.gnu.org/g:66f48557e11a530646e5562c50a75b4b9839f171

commit r15-1196-g66f48557e11a530646e5562c50a75b4b9839f171
Author: Alexandre Oliva <ol...@adacore.com>
Date:   Wed Jun 12 00:16:27 2024 -0300

    [tree-prof] skip if errors were seen [PR113681]

    ipa_tree_profile asserts that the symtab is in IPA_SSA state, but we
    don't reach that state and ICE if e.g. ipa-strub passes report errors.
    Skip this pass if errors were seen.


    for  gcc/ChangeLog

            PR tree-optimization/113681
            * tree-profile.cc (pass_ipa_tree_profile::gate): Skip if
            seen_errors.

    for  gcc/testsuite/ChangeLog

            PR tree-optimization/113681
            * c-c++-common/strub-pr113681.c: New.

Reply via email to