PR tree-optimization/84235
commita37bebbe87e323136096cf0ca9e852d1a2e0dd75
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Feb 2018 08:29:58 +0000 (7 08:29 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Feb 2018 08:29:58 +0000 (7 08:29 +0000)
tree4fc1f3a5020d94acba63a9414fcc4d840a1178d1
parentc961ab09d2bc312d6d0ee2f6de5af39dc574d464
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257437 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/ieee/pr84235.c [new file with mode: 0644]
gcc/tree-ssa-scopedtables.c