re PR other/63387 (Optimize pairs of isnan() calls into a single isunordered())
authorMarc Glisse <marc.glisse@inria.fr>
Fri, 22 May 2015 21:05:26 +0000 (23:05 +0200)
committerMarc Glisse <glisse@gcc.gnu.org>
Fri, 22 May 2015 21:05:26 +0000 (21:05 +0000)
commit257b01ba3e72667536024aab8f2d3f506b2117e3
tree0661107ebb924daf8be432841222366fbbb22e80
parentb8f75b8cde8c632738e447f5493aea7b30be8e32
re PR other/63387 (Optimize pairs of isnan() calls into a single isunordered())

2015-05-22  Marc Glisse  <marc.glisse@inria.fr>

PR tree-optimization/63387
gcc/
* match.pd ((X /[ex] A) * A -> X): Remove unnecessary condition.
((x ord x) & (y ord y) -> (x ord y),
(x ord x) & (x ord y) -> (x ord y)): New simplifications.
* fold-const.c (tree_unary_nonnegative_warnv_p) <ABS_EXPR>: Handle
vectors like scalars.
gcc/testsuite/
* gcc.dg/pr63387-2.c: New testcase.

From-SVN: r223591
gcc/ChangeLog
gcc/fold-const.c
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr63387-2.c [new file with mode: 0644]