https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84235
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Feb 7 08:29:58 2018 New Revision: 257437 URL: https://gcc.gnu.org/viewcvs?rev=257437&root=gcc&view=rev Log: PR tree-optimization/84235 * tree-ssa-scopedtables.c (avail_exprs_stack::simplify_binary_operation): Fir MINUS_EXPR, punt if the subtraction is performed in floating point type where NaNs are honored. For *DIV_EXPR, punt for ALL_FRACT_MODE_Ps where we can't build 1. Formatting fix. * gcc.c-torture/execute/ieee/pr84235.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/execute/ieee/pr84235.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-scopedtables.c