From: Patrick Palka Date: Wed, 1 Jun 2016 02:37:50 +0000 (+0000) Subject: re PR tree-optimization/71314 (test case gcc.dg/tree-ssa/ssa-thread-14.c fails starti... X-Git-Tag: basepoints/gcc-8~6535 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=827cf695d993e269221ab2eacab5e492e5a19b48;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 17cf2fa6795d..c806fdb2f54b 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 e2ac2f76c0b1..c754b5b469dc 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);