iinline-1.C: Remove -c flag, add -fpie for PIC targets.

* g++.dg/ipa/iinline-1.C: Remove -c flag, add -fpie for PIC
	targets.

From-SVN: r141664
This commit is contained in:
Kaveh R. Ghazi 2008-11-07 09:00:14 +00:00 committed by Kaveh Ghazi
parent 3442b495bd
commit 218da97236
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2008-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* g++.dg/ipa/iinline-1.C: Remove -c flag, add -fpie for PIC
targets.
* gcc.dg/tree-ssa/inline-2.c (foo): Add 'inline' keyword.
2008-11-06 Sebastian Pop <sebastian.pop@amd.com>

View File

@ -1,7 +1,8 @@
/* Verify that simple indirect calls are inlined even without early
inlining.. */
/* { dg-do compile } */
/* { dg-options "-O3 -c -fdump-ipa-inline -fno-early-inlining" } */
/* { dg-options "-O3 -fdump-ipa-inline -fno-early-inlining" } */
/* { dg-options "-O3 -fdump-ipa-inline -fno-early-inlining -fpie" { target { ! nonpic } } } */
extern void non_existent (const char *, int);