]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
inline-3.c: Add -fpie when pic.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Wed, 2 Sep 2009 18:06:40 +0000 (18:06 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Wed, 2 Sep 2009 18:06:40 +0000 (18:06 +0000)
* gcc.dg/tree-ssa/inline-3.c: Add -fpie when pic.
* gcc.dg/tree-ssa/local-pure-const.c: Likewise.

From-SVN: r151346

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/inline-3.c
gcc/testsuite/gcc.dg/tree-ssa/local-pure-const.c

index de4a9665194a179c0db69f25f508bab1d009b5f9..ba464ed095f4c8c3d5c5eadcf023f75ee1ba8a58 100644 (file)
@@ -1,3 +1,8 @@
+2009-09-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * gcc.dg/tree-ssa/inline-3.c: Add -fpie when pic.
+       * gcc.dg/tree-ssa/local-pure-const.c: Likewise.
+
 2009-09-02  Martin Jambor  <mjambor@suse.cz>
 
        * gcc.dg/tree-ssa/sra-8.c: New testcase.
index f7ebb33d2a5afb5e5ed0afdbcf4d60ffc290b7de..13e27c307a40f23ecbf655b2770bdd69d41cc573 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fdump-tree-einline2" } */
+/* { dg-options "-O2 -fdump-tree-einline2 -fpie" { target { ! nonpic } } } */
 extern void inlined ();
 void inline_me_too (void);
 void inline_through_me (void (*ptr)(void));
index 2c7353dbdbc416358b5f73b84b637b5d2f19f08e..065d212cb5f6d7676e1ad72b056a18cdc58991bc 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O1 -fdump-tree-local-pure-const1" } */
+/* { dg-options "-O1 -fdump-tree-local-pure-const1 -fpie" { target { ! nonpic } } } */
 t(int a, int b, int c)
 {
   int *p;