https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120359
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|33738 | See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=33738 Blocks|33702 | --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- `-O2 -Wtype-limits -fstrict-enums -fno-short-enums -fdisable-tree-evrp` stopped working in GCC 10. though. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33702 [Bug 33702] [meta-bug] GCC 4.4 pending patches https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33738 [Bug 33738] -Wtype-limits misses a warning when comparing enums