[Bug ipa/105600] [10/11/12 Regression] ICE with LTO when building Mumble

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 23 10:12:04 GMT 2022


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

--- Comment #19 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Martin Liska
<marxin@gcc.gnu.org>:

https://gcc.gnu.org/g:3f1637f8b17ded9e08841abc1182dcde0e35e660

commit r11-10089-g3f1637f8b17ded9e08841abc1182dcde0e35e660
Author: Martin Liska <mliska@suse.cz>
Date:   Wed May 18 15:07:53 2022 +0200

    ipa-icf: skip variables with body_removed

    Similarly to cgraph_nodes, it may happen that body_removed is set
    during merging of symbols.

            PR ipa/105600

    gcc/ChangeLog:

            * ipa-icf.c (sem_item_optimizer::filter_removed_items):
            Skip variables with body_removed.

    (cherry picked from commit 31ce821a790caec8a2849dd67a9847e78a33d14c)


More information about the Gcc-bugs mailing list