https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123413
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE: in |[13/14/15/16 Regression]
|gimplify_var_or_parm_decl, |ICE: in
|at gimplify.cc with |gimplify_var_or_parm_decl,
|statement expression inside |at gimplify.cc with
|a template assigned to a |statement expression inside
|decltype(auto) |a template assigned to a
| |decltype(auto)
Status|UNCONFIRMED |NEW
Known to work| |4.9.4
Target Milestone|--- |13.5
Last reconfirmed| |2026-01-06
Keywords| |ice-on-valid-code
Known to fail| |5.1.0
Ever confirmed|0 |1
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
For earlier compiler you need -std=c++14.