[Bug ada/103070] [12 regression] ICE in gimple_call_static_chain_flags, at gimple.c:1669

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


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
          Component|ipa                         |ada
   Last reconfirmed|                            |2021-11-04

--- Comment #1 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Confirmed. Also reproduces on x86_64-linux.

The test is checking that nested functions are not interposable.  I think all
nested functions should be static since they can not be called cross-module
(since their ABI depends on outer function frame layout).  So I think this
would be best fixed on Ada frotend side.

Note that I have silenced the sanity check for now to unbreak some Fortran
builds.


More information about the Gcc-bugs mailing list