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.