https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115657

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |12.1.0, 13.1.0, 14.1.0,
                   |                            |15.0
           Keywords|                            |ice-checking
            Summary|[15 regression] ICE in      |ICE in
                   |tsubst_enum/tsubst_expr     |tsubst_enum/tsubst_expr
                   |during template             |during template
                   |instantiation               |instantiation

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
      /* We shouldn't get here, but keep going if !flag_checking.  */
      if (flag_checking)
        gcc_unreachable ();


And yes it ICEs with -fchecking starting with GCC 12. I have not checked if
this changed to the above check in GCC 12 though.

Reply via email to