[Bug c++/123360] [13/14/15/16 Regression] ICE: tree check: expected class ‘type’, have ‘declaration’ (function_decl) in cp_type_quals, at cp/typeck.cc during reshape_init with nested anonymous compound literal
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 7 08:20:51 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123360
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |12.1.0
Summary|ICE: tree check: expected |[13/14/15/16 Regression]
|class ‘type’, have |ICE: tree check: expected
|‘declaration’ |class ‘type’, have
|(function_decl) in |‘declaration’
|cp_type_quals, at |(function_decl) in
|cp/typeck.cc during |cp_type_quals, at
|reshape_init with nested |cp/typeck.cc during
|anonymous compound literal |reshape_init with nested
| |anonymous compound literal
Target Milestone|--- |13.5
More information about the Gcc-bugs
mailing list