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

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
>This code compiles successfully on 16.1.1. 
That is because the assert is only enabled with checking. If you test with one
of the assert toolchain on compiler explorer like
https://godbolt.org/z/oTYWvbdj9 . You will see the ICE too.

Reply via email to