[Bug fortran/103058] [12 Regression] ICE in gimple_call_static_chain_flags, at gimple.c:1669 when building 527.cam4_r

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Nov 6 22:36:58 GMT 2021


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

--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jan Hubicka <hubicka@gcc.gnu.org>:

https://gcc.gnu.org/g:6078eb7452aa89cb9aeecac30932b58967389459

commit r12-4974-g6078eb7452aa89cb9aeecac30932b58967389459
Author: Jan Hubicka <hubicka@ucw.cz>
Date:   Sat Nov 6 23:36:08 2021 +0100

    Fix can_be_discarded_p wrt partitioned functions.

    gcc/ChangeLog:

            * cgraph.h (cgraph_node::can_be_discarded_p): Do not
            return true on functions from other partition.

    gcc/lto/ChangeLog:

            PR ipa/103070
            PR ipa/103058
            * lto-partition.c (must_not_rename): Update comment.
            (promote_symbol): Set resolution to LDPR_PREVAILING_DEF_IRONLY.


More information about the Gcc-bugs mailing list