]> gcc.gnu.org Git - gcc.git/commitdiff
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 02d888598af98a840df703566f9a3082338bb965..2b25e171d479fdcd3ea87698861f24d124369327 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 a7bb374f7f9e3a32017d978ad76fe0e79a8373f2..83490aa79b0139b00c21221e170156b6eb6e1e2f 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);
 
This page took 0.091621 seconds and 5 git commands to generate.