[Bug tree-optimization/53805] combine_comparisons changes trapping behavior
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 2 07:27:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53805
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-07-02 07:27:40 UTC ---
Integer 1 / 0 is undefined behavior, so it is fine to optimize that away.
But floating point traps with -ftrapping-math aren't undefined behavior.
More information about the Gcc-bugs
mailing list