https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116907
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|15.0 |
Known to work| |15.0
Summary|[14/15 regression] ICE when |[14 regression] ICE when
|building kakoune-2024.05.18 |building kakoune-2024.05.18
|with LTO |with LTO
--- Comment #34 from Richard Biener <rguenth at gcc dot gnu.org> ---
The issue looks long latent unless the specific value-exprs containing
locations are "new". Note
((const struct ._anon_162 *) &factory.func)->__t
is likely in a TARGET_EXPR or SAVE_EXPR at the time SET_DECL_VALUE_EXPR is
called so the protected_set_expr_location_unshare to UNKNOWN_LOCATION isn't
effective.