Commit 197e22b7 by Kaveh R. Ghazi Committed by Kaveh Ghazi

loadpre5.c: Use static.

	* gcc.dg/tree-ssa/loadpre5.c: Use static.
	* gcc.dg/tree-ssa/loadpre8.c: Likewise.

From-SVN: r131485
parent 952d7375
2008-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2008-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/tree-ssa/loadpre5.c: Use static.
* gcc.dg/tree-ssa/loadpre8.c: Likewise.
* gcc.dg/pr33826.c: Require nonpic. * gcc.dg/pr33826.c: Require nonpic.
2008-01-11 Jerry DeLisle <jvdelisle@gcc.gnu.org> 2008-01-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
...@@ -4,7 +4,7 @@ int p; ...@@ -4,7 +4,7 @@ int p;
int r; int r;
__attribute__ ((noinline)) __attribute__ ((noinline))
int a(void) static int a(void)
{ {
return p; return p;
} }
......
...@@ -24,7 +24,7 @@ typedef struct VEC_edge_base ...@@ -24,7 +24,7 @@ typedef struct VEC_edge_base
{ {
} }
VEC_edge_base; VEC_edge_base;
__attribute__ ((noinline)) edge __attribute__ ((noinline)) static edge
VEC_edge_base_index (const VEC_edge_base * vec_, unsigned ix_) VEC_edge_base_index (const VEC_edge_base * vec_, unsigned ix_)
{ {
} }
...@@ -56,7 +56,7 @@ ei_start_1 (VEC_edge_gc ** ev) ...@@ -56,7 +56,7 @@ ei_start_1 (VEC_edge_gc ** ev)
i.container = ev; i.container = ev;
return i; return i;
} }
__attribute__ ((noinline)) ei_next (edge_iterator * i) __attribute__ ((noinline)) static ei_next (edge_iterator * i)
{ {
} }
static __inline__ edge static __inline__ edge
...@@ -75,7 +75,7 @@ static __inline__ tree ...@@ -75,7 +75,7 @@ static __inline__ tree
get_def_from_ptr (def_operand_p def) get_def_from_ptr (def_operand_p def)
{ {
} }
__attribute__ ((noinline)) tree __attribute__ ((noinline)) static tree
phi_nodes (basic_block bb) phi_nodes (basic_block bb)
{ {
} }
......
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