[Bug ipa/113996] [11/12/13/14 Regression] ICE with LTO at -O2 and above with some Ada code
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 26 10:32:07 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113996
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu.org
Last reconfirmed| |2024-02-26
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
A good reason not to compile with -gnatp. ;-) It's this assertion:
/* Initialize the static chain. */
p = DECL_STRUCT_FUNCTION (fn)->static_chain_decl;
gcc_assert (fn != current_function_decl);
if (p)
{
/* No static chain? Seems like a bug in tree-nested.cc. */
gcc_assert (static_chain);
setup_one_parameter (id, p, static_chain, fn, bb, &vars);
}
More information about the Gcc-bugs
mailing list