https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123837
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2026-01-27
Ever confirmed|0 |1
Keywords| |ice-on-valid-code, lto
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Looks like failed gimplification and/or free-lang-data to me.
<var_decl 0x7ffff69c0260 x
type <integer_type 0x7ffff68235e8 int public type_6 SI
size <integer_cst 0x7ffff681b4e0 constant 32>
unit-size <integer_cst 0x7ffff681b4f8 constant 4>
align:32 warn_if_not_align:0 symtab:0 alias-set 2 canonical-type
0x7ffff68235e8 precision:32 min <integer_cst 0x7ffff681b498 -2147483648> max
<integer_cst 0x7ffff681b4b0 2147483647>
pointer_to_this <pointer_type 0x7ffff682ab28>>
addressable public static SI t.ii:4:16 size <integer_cst 0x7ffff681b4e0 32>
unit-size <integer_cst 0x7ffff681b4f8 4>
align:32 warn_if_not_align:0 context <translation_unit_decl 0x7ffff6821000
t.ii>
attributes <tree_list 0x7ffff69a4b40
purpose <tree_list 0x7ffff69a4b18
purpose <identifier_node 0x7ffff681e3c0 internal >
value <identifier_node 0x7ffff681e400 annotation >>
value <tree_list 0x7ffff69a4988 protected
value <target_expr 0x7ffff69c2690 type <record_type 0x7ffff69a9bd0
Tag>
side-effects arg:0 <var_decl 0x7ffff69c01c8 D.2663>
arg:1 <constructor 0x7ffff69b9d08 type <record_type
0x7ffff69a9bd0 Tag>
constant static tree_0 length:0>
t.ii:4:4 start: t.ii:4:4 finish: t.ii:4:8>>> initial
<integer_cst 0x7ffff681b630 0> chain <type_decl 0x7ffff6830e60 Tag>>
A TARGET_EXPR in DECL_ATTRIBUTES looks "wrong" to me. Possibly those
need to be pruned in the free_lang_data langhook?