re PR tree-optimization/34036 (ICE with control flow in the middle of basic block...
authorEric Botcazou <ebotcazou@libertysurf.fr>
Mon, 19 Nov 2007 17:27:06 +0000 (18:27 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 19 Nov 2007 17:27:06 +0000 (17:27 +0000)
PR tree-optimization/34036
* gcc.dg/tree-ssa/pr23109.c: Pass -ftrapping-math and expect warning.

From-SVN: r130293

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr23109.c

index 098445867fb8b2959f2227c441453aeef0416c37..b084877c9e3f0fe4b2a5c6335c53db4e37041c61 100644 (file)
@@ -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
index b620fa4b824703c641a699ad7ae0af1783004b72..e60b2f09f10fd984d5cf9f334b4ebd90a36a6fc6 100644 (file)
@@ -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.;