diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 24e8b25de59..9fbdbcce144 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-01-13 H.J. Lu + + * gcc.dg/tree-ssa/ssa-store-ccp-3.c: Exclude pie when nonpic is + true. + 2015-01-13 H.J. Lu * gcc.target/i386/pie.c: New test. diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-3.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-3.c index e187735a419..eafcd9c4134 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-3.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-3.c @@ -13,6 +13,6 @@ int f(void) /* There should be no reference for nonpic targets to conststaticvariable as we should have inlined the 0. */ -/* { dg-final { scan-tree-dump-times "conststaticvariable" 0 "optimized" { target nonpic } } } */ -/* { dg-final { scan-tree-dump-times "conststaticvariable" 1 "optimized" { target { ! nonpic } } } } */ +/* { dg-final { scan-tree-dump-times "conststaticvariable" 0 "optimized" { target { pie || nonpic } } } } */ +/* { dg-final { scan-tree-dump-times "conststaticvariable" 1 "optimized" { target { { ! pie } && { ! nonpic } } } } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */