From 6c5df99d2e32d57ca6a00bba15fb1bf1a89f6c4b Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Mon, 2 Feb 2009 20:10:04 +0000 Subject: re PR testsuite/38263 (gcc.dg/ipa/ipacost-2.c fails with -fpic/-fPIC) PR testsuite/38263 * gcc.dg/ipa/ipacost-2.c: Add -fpie when pic. From-SVN: r143880 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/ipa/ipacost-2.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d6adb2e..7760fe8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-02-02 Kaveh R. Ghazi + + PR testsuite/38263 + * gcc.dg/ipa/ipacost-2.c: Add -fpie when pic. + 2009-02-02 Jason Merrill PR c++/39054 diff --git a/gcc/testsuite/gcc.dg/ipa/ipacost-2.c b/gcc/testsuite/gcc.dg/ipa/ipacost-2.c index c2861ba..46db85f 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipacost-2.c +++ b/gcc/testsuite/gcc.dg/ipa/ipacost-2.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining -fdump-tree-optimized" } */ +/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining -fdump-tree-optimized -fpie" { target { ! nonpic } } } */ int array[100]; -- cgit v1.1