* ld-gc/gc.c: Make sure used_func is not inlined.

This commit is contained in:
Andreas Schwab 2008-01-23 16:05:45 +00:00
parent 2cb4f3d5a9
commit f9dd0b02e8
2 changed files with 5 additions and 0 deletions

View File

@ -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>
* ld-gc/gc.exp: Use [which $CC] != 0.

View File

@ -8,6 +8,7 @@ unused_func (int v)
}
int
__attribute__((noinline))
used_func (int v)
{
return 2 * used_var;