https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119574
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Marek Polacek from comment #2) > Started with r15-3530-gdfb63765e994be. Before that rev we accepted the > code. But GCC 14 also ICEs and GCC 13 says: r15-3530 was backported to 14 branch for 14.3.0. And this worked in GCC 14.1.0 and 14.2.0 (I checked even with --enable-checking=yes) which does make this a P1 candidate in my mind but it is up to the C++ front-end and release managers to decide.