https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81647
sudi at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sudi at gcc dot gnu.org --- Comment #7 from sudi at gcc dot gnu.org --- (In reply to amker from comment #1) > According to thread https://gcc.gnu.org/ml/gcc-patches/2015-02/msg00583.html > it's still not clear if LTGT should be quite or singaling, but inconsistent > behavior seems not correct here. According to what I noticed by running this example, the fold_builtin_unordered_cmp functions folds __builtin_islessgreater into ~UNEQ for most combinations of options (except -fno-trapping-math) even on -O0. Since UNEQ is guaranteed to not throw an exception, this conversion will probably make sure that __builtin_islessgreater also does not throw an exception?