iinline-1.C: Remove -c flag, add -fpie for PIC targets.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri, 7 Nov 2008 09:00:14 +0000 (09:00 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Fri, 7 Nov 2008 09:00:14 +0000 (09:00 +0000)
* g++.dg/ipa/iinline-1.C: Remove -c flag, add -fpie for PIC
targets.

From-SVN: r141664

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/iinline-1.C

index 02d8885..2b25e17 100644 (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>
index a7bb374..83490aa 100644 (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);