aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2007-11-19 18:27:06 +0100
committerEric Botcazou <ebotcazou@gcc.gnu.org>2007-11-19 17:27:06 +0000
commit921d313fd5472454b07f684d59634b738216ed49 (patch)
treec54eee122f4ed7227263402b73b7712b5e8529c9 /gcc
parent4d82f261af84b65eb92526d8f9c90fd358880c29 (diff)
downloadgcc-921d313fd5472454b07f684d59634b738216ed49.zip
gcc-921d313fd5472454b07f684d59634b738216ed49.tar.gz
gcc-921d313fd5472454b07f684d59634b738216ed49.tar.bz2
re PR tree-optimization/34036 (ICE with control flow in the middle of basic block for -fnon-call-exceptions)
PR tree-optimization/34036 * gcc.dg/tree-ssa/pr23109.c: Pass -ftrapping-math and expect warning. From-SVN: r130293
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/pr23109.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0984458..b084877 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-19 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ PR tree-optimization/34036
+ * gcc.dg/tree-ssa/pr23109.c: Pass -ftrapping-math and expect warning.
+
2007-11-19 Richard Guenther <rguenther@suse.de>
PR tree-optimization/34
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr23109.c b/gcc/testsuite/gcc.dg/tree-ssa/pr23109.c
index b620fa4..e60b2f0 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr23109.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr23109.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
-/* { dg-options "-O2 -funsafe-math-optimizations -fdump-tree-recip -fdump-tree-lim" } */
+/* { dg-options "-O2 -funsafe-math-optimizations -ftrapping-math -fdump-tree-recip -fdump-tree-lim" } */
+/* { dg-warning "-fassociative-math disabled" "" { target *-*-* } 1 } */
double F[2] = { 0., 0. }, e = 0.;