Commit ef982d94 by H.J. Lu Committed by Uros Bizjak

re PR testsuite/35538 (FAIL: gcc.dg/tree-ssa/ssa-store-ccp-4.c…

re PR testsuite/35538 (FAIL: gcc.dg/tree-ssa/ssa-store-ccp-4.c scan-tree-dump-times optimized "conststaticvariable" 1)

	PR testsuite/35538 
	* gcc.dg/tree-ssa/ssa-store-ccp-3.c: Support PIC targets.
	Skip *-*-darwin*.
	* gcc.dg/tree-ssa/ssa-store-ccp-4.c: Skip *-*-darwin*.

From-SVN: r133208
parent 1af99ce6
2008-03-14 H.J. Lu <hongjiu.lu@intel.com>
Uros Bizjak <ubizjak@gmail.com>
PR testsuite/35538
* gcc.dg/tree-ssa/ssa-store-ccp-3.c: Support PIC targets.
Skip *-*-darwin*.
* gcc.dg/tree-ssa/ssa-store-ccp-4.c: Skip *-*-darwin*.
2008-03-13 Jerry DeLisle <jvdelisle@gcc.gnu.org> 2008-03-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR testsuite/35406 PR testsuite/35406
* gcc.dg/tree-ssa/ldist-4.c: Update expected scan match count from 0 * gcc.dg/tree-ssa/ldist-4.c: Update expected scan match
to 1. count from 0 to 1.
2008-03-13 Jerry DeLisle <jvdelisle@gcc.gnu.org> 2008-03-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR testsuite/35406 PR testsuite/35406
* gfortran.dg/ldist-1.f90: Update test to check for 5 loops distributed * gfortran.dg/ldist-1.f90: Update test to check
instead of 4. for 5 loops distributed instead of 4.
2008-03-13 Jerry DeLisle <jvdelisle@gcc.gnu.org> 2008-03-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-skip-if "" { *-*-darwin* } { "*" } { "" } } */
/* { dg-options "-O2 -fno-common -fdump-tree-optimized" } */ /* { dg-options "-O2 -fno-common -fdump-tree-optimized" } */
const int conststaticvariable; const int conststaticvariable;
...@@ -8,7 +9,8 @@ int f(void) ...@@ -8,7 +9,8 @@ int f(void)
return conststaticvariable; return conststaticvariable;
} }
/* There should be no reference to conststaticvariable as we should have /* There should be no reference for nonpic targets to
inlined the 0. */ conststaticvariable as we should have inlined the 0. */
/* { dg-final { scan-tree-dump-times "conststaticvariable" 0 "optimized"} } */ /* { dg-final { scan-tree-dump-times "conststaticvariable" 0 "optimized" { target nonpic } } } */
/* { dg-final { scan-tree-dump-times "conststaticvariable" 1 "optimized" { target { ! nonpic } } } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target fpic } */ /* { dg-require-effective-target fpic } */
/* { dg-skip-if "" { *-*-darwin* } { "*" } { "" } } */
/* { dg-options "-O2 -fno-common -fpic -fdump-tree-optimized" } */ /* { dg-options "-O2 -fno-common -fpic -fdump-tree-optimized" } */
const int conststaticvariable; const int conststaticvariable;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment