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

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 4 17:03:10 GMT 2021


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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ipa                         |fortran

--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Looking at the particular ICE, this looks like a fortran frond-end issue - this
is during compilation and not during link and I do not see why Fortran should
produce nested function with external linkage.
I comitted a patch that silences the ICE, but it would be nice to make the
function static for Fortran.

Changing component to fortran.


More information about the Gcc-bugs mailing list