From de8aa9fe2fd2e6d114b76d73fa1218c291fa015c Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Wed, 10 Mar 2010 21:15:16 +0000 Subject: [PATCH] Backport: 2008-12-12 Uros Bizjak PR testsuite/38163 * gcc.dg/tree-ssa/loop-3.c: Compile only on nonpic x86 targets. Remove dg-skip-if directive. From-SVN: r157370 --- gcc/testsuite/ChangeLog | 9 +++++++++ gcc/testsuite/gcc.dg/tree-ssa/loop-3.c | 5 ++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dca063be7ba3..526fa0994b3f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2010-03-10 Kaveh R. Ghazi + + Backport: + 2008-12-12 Uros Bizjak + + PR testsuite/38163 + * gcc.dg/tree-ssa/loop-3.c: Compile only on nonpic x86 targets. + Remove dg-skip-if directive. + 2010-03-10 Kaveh R. Ghazi * g++.old-deja/g++.pt/asm1.C: Don't detect pic via looking for the diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-3.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-3.c index 57db5c323991..9868c078df20 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/loop-3.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-3.c @@ -2,9 +2,8 @@ Target is restricted to x86 type architectures, so that we may assume something about memory addressing modes. */ -/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ -/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-fpic" "-fPIC" } { "" } } */ -/* { dg-options "-O1 -fno-pic -fno-PIC -fdump-tree-optimized" } */ +/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && nonpic } } } */ +/* { dg-options "-O1 -fdump-tree-optimized" } */ int arr_base[100]; -- 2.47.2