Commit 6c5df99d by Kaveh R. Ghazi Committed by Kaveh Ghazi

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
parent 2e8a796f
2009-02-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
PR testsuite/38263
* gcc.dg/ipa/ipacost-2.c: Add -fpie when pic.
2009-02-02 Jason Merrill <jason@redhat.com>
PR c++/39054
......
/* { 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];
......
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