[Bug c++/33738] -Wtype-limits misses a warning when comparing enums
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Oct 11 18:09:00 GMT 2007
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-10-11 18:09 -------
Warnings from optimizers are semi a no-no. Yes we have them for strict
aliasing and overflow but I think those cases are a bit weird. This is
unspecified behavior no matter what and there is no flag to change the behavior
here.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33738
More information about the Gcc-bugs
mailing list