From 827cf695d993e269221ab2eacab5e492e5a19b48 Mon Sep 17 00:00:00 2001 From: Patrick Palka Date: Wed, 1 Jun 2016 02:37:50 +0000 Subject: [PATCH] re PR tree-optimization/71314 (test case gcc.dg/tree-ssa/ssa-thread-14.c fails starting with its introduction in r235653) Fix PR tree-optimization/71314 gcc/testsuite/ChangeLog: PR tree-optimization/71314 * gcc.dg/tree-ssa/ssa-thread-14.c: Adjust target selector. Pass -mbranch-cost=2. From-SVN: r236974 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 17cf2fa6795..c806fdb2f54 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-06-01 Patrick Palka + + PR tree-optimization/71314 + * gcc.dg/tree-ssa/ssa-thread-14.c: Adjust target selector. Pass + -mbranch-cost=2. + 2016-06-01 Patrick Palka PR tree-optimization/71077 diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c index e2ac2f76c0b..c754b5b469d 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c @@ -1,5 +1,6 @@ -/* { dg-do compile } */ +/* { dg-do compile { target { ! { m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* hppa*-*-* nios2*-*-* } } } } */ /* { dg-additional-options "-O2 -fdump-tree-vrp-details" } */ +/* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* s390*-*-* i?86-*-* x86_64-*-* } } */ /* { dg-final { scan-tree-dump-times "Threaded jump" 8 "vrp1" } } */ void foo (void); -- 2.30.2