* ld-gc/gc.c: Make sure used_func is not inlined.
This commit is contained in:
parent
2cb4f3d5a9
commit
f9dd0b02e8
|
@ -1,3 +1,7 @@
|
||||||
|
2008-01-23 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
* ld-gc/gc.c: Make sure used_func is not inlined.
|
||||||
|
|
||||||
2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
|
2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* ld-gc/gc.exp: Use [which $CC] != 0.
|
* ld-gc/gc.exp: Use [which $CC] != 0.
|
||||||
|
|
|
@ -8,6 +8,7 @@ unused_func (int v)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
__attribute__((noinline))
|
||||||
used_func (int v)
|
used_func (int v)
|
||||||
{
|
{
|
||||||
return 2 * used_var;
|
return 2 * used_var;
|
||||||
|
|
Loading…
Reference in New Issue