inline-3.c: Add -fpie when pic.
* gcc.dg/tree-ssa/inline-3.c: Add -fpie when pic. * gcc.dg/tree-ssa/local-pure-const.c: Likewise. From-SVN: r151346
This commit is contained in:
parent
fef94f7680
commit
f8563a3ba7
@ -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.
|
||||
|
@ -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));
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user