https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87292
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think the second is correct but I dont know the exact rules about enum classes; are they unsigned by default? I know normal emuns are signed by default.