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.