Commit f8563a3b by Kaveh R. Ghazi Committed by Kaveh Ghazi

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
parent fef94f76
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.
......
/* { 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));
......
/* { 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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment