tree-complex.c (expand_complex_div_wide): Don't create CONDs that trap.
authorRafael Avila de Espindola <espindola@google.com>
Thu, 8 May 2008 22:16:59 +0000 (22:16 +0000)
committerRafael Espindola <espindola@gcc.gnu.org>
Thu, 8 May 2008 22:16:59 +0000 (22:16 +0000)
commit04b03edb56633f6e77d7834022d4e49a74f3cce5
tree465e7779ecfa60e33ba35e94156083288329e034
parent96c92f4763242fbf74d70ca52dc5ebecc3c0ce95
tree-complex.c (expand_complex_div_wide): Don't create CONDs that trap.

* tree-complex.c (expand_complex_div_wide): Don't create CONDs that
trap.
* tree-gimple.c (is_gimple_condexpr): Check that the expression doesn't
trap and that both operands are gimple values.
(canonicalize_cond_expr_cond): Use is_gimple_condexpr.
* gcc/tree-eh.c (tree_could_trap_p): Correctly detect if a comparison
is a fp operation.

* gcc/testsuite/gcc.dg/vect/vect-111.c: Rename to no-trapping-math-vect-111.c
* gcc/testsuite/gcc.dg/vect/vect-ifcvt-11.c: Rename to no-trapping-math-vect-ifcvt-11.c
* gcc/testsuite/gcc.dg/vect/vect-ifcvt-12.c: Rename to no-trapping-math-vect-ifcvt-12.c
* gcc/testsuite/gcc.dg/vect/vect-ifcvt-13.c: Rename to no-trapping-math-vect-ifcvt-13.c
* gcc/testsuite/gcc.dg/vect/vect-ifcvt-14.c: Rename to no-trapping-math-vect-ifcvt-14.c
* gcc/testsuite/gcc.dg/vect/vect-ifcvt-15.c: Rename to no-trapping-math-vect-ifcvt-15.c

From-SVN: r135093
17 files changed:
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-111.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-14.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-15.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-111.c [deleted file]
gcc/testsuite/gcc.dg/vect/vect-ifcvt-11.c [deleted file]
gcc/testsuite/gcc.dg/vect/vect-ifcvt-12.c [deleted file]
gcc/testsuite/gcc.dg/vect/vect-ifcvt-13.c [deleted file]
gcc/testsuite/gcc.dg/vect/vect-ifcvt-14.c [deleted file]
gcc/testsuite/gcc.dg/vect/vect-ifcvt-15.c [deleted file]
gcc/tree-complex.c
gcc/tree-eh.c
gcc/tree-gimple.c