From 921d313fd5472454b07f684d59634b738216ed49 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Mon, 19 Nov 2007 18:27:06 +0100 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/tree-ssa/pr23109.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 098445867fb..b084877c9e3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-11-19 Eric Botcazou + + PR tree-optimization/34036 + * gcc.dg/tree-ssa/pr23109.c: Pass -ftrapping-math and expect warning. + 2007-11-19 Richard Guenther 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 b620fa4b824..e60b2f09f10 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.; -- 2.30.2