[Bug tree-optimization/93674] [8/9/10 Regression] GCC eliminates conditions it should not, when strict-enums is on

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 13 09:50:00 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93674

--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #4)
> I can't reproduce this with GCC 9, only 8.

Sorry, I was using -fsanitize=undefined, which prevented the miscompilation for
gcc 9.


More information about the Gcc-bugs mailing list