re PR testsuite/38261 (gcc.dg/torture/ipa-pta-1.c & gcc.dg/tree-ssa/alias-2.c fail with -fpic/-fPIC)

PR testsuite/38261
	* gcc.dg/tree-ssa/alias-2.c: Only compile on nonpic targets.
	* gcc.dg/torture/ipa-pta-1.c: Likewise.

From-SVN: r142256
This commit is contained in:
Jakub Jelinek 2008-11-28 11:11:18 +01:00 committed by Jakub Jelinek
parent de2130f9bb
commit 60d6f5d8bd
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2008-11-28 Jakub Jelinek <jakub@redhat.com>
PR testsuite/38261
* gcc.dg/tree-ssa/alias-2.c: Only compile on nonpic targets.
* gcc.dg/torture/ipa-pta-1.c: Likewise.
2008-11-26 Janis Johnson <janis187@us.ibm.com>
* lib/objc.exp (objc_target_compile): Fix typo from previous change.

View File

@ -1,4 +1,4 @@
/* { dg-do compile } */
/* { dg-do compile { target { nonpic } } } */
/* { dg-options "-fipa-pta -fdump-ipa-pta" } */
/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */

View File

@ -1,3 +1,4 @@
/* { dg-do compile { target { nonpic } } } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
static int a;
int f;