OSDN Git Service

* g++.dg/ipa/iinline-1.C: Remove -c flag, add -fpie for PIC
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Nov 2008 09:00:14 +0000 (09:00 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Nov 2008 09:00:14 +0000 (09:00 +0000)
targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141664 138bc75d-0d04-0410-961f-82ee72b054a4

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>
 
 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>
        * 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 } */
 /* 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);
 
 
 extern void non_existent (const char *, int);