From 4fcfb584fe61bc537e45ea4bfffe738aa19f193b Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 27 Feb 2015 15:34:18 +0100 Subject: [PATCH] re PR middle-end/65048 (ICE in add_phi_args_after_copy_edge, at tree-cfg.c) PR tree-optimization/65048 * gcc.dg/tree-ssa/ssa-dom-thread-9.c: Add -std=gnu89 to dg-options. (foo): Use K&R style definition. From-SVN: r221063 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-9.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fae312eb7bf..cc86e37a1ba 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-02-27 Jakub Jelinek + + PR tree-optimization/65048 + * gcc.dg/tree-ssa/ssa-dom-thread-9.c: Add -std=gnu89 to dg-options. + (foo): Use K&R style definition. + 2015-02-27 Vladimir Makarov PR target/65032 diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-9.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-9.c index 391df5f3bdb..2d9028d3ea9 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-9.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-9.c @@ -1,12 +1,13 @@ /* PR 65048 */ /* { dg-do compile } */ -/* { dg-options "-O3" } */ +/* { dg-options "-O3 -std=gnu89" } */ int a, b, c, d; void fn (void); int -foo (int x) +foo (x) + int x; { switch (x) { -- 2.30.2