https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110619
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I would have expected this to be undefined ... So the static_assert could work or not.