https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82404
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Oh this has to be c++ because of enum class. So gcc just does not use the undefinedness here.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82404
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Oh this has to be c++ because of enum class. So gcc just does not use the undefinedness here.