aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-gc
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2008-01-23 16:05:45 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2008-01-23 16:05:45 +0000
commitf9dd0b02e897f9e362bbd853ee2f2777a5404ab5 (patch)
treeba02d7fbf1ccc92551701aa39b6d3e9db44fc12c /ld/testsuite/ld-gc
parent2cb4f3d5a91ac608dd477d016dc9f695be516af0 (diff)
downloadgdb-f9dd0b02e897f9e362bbd853ee2f2777a5404ab5.zip
gdb-f9dd0b02e897f9e362bbd853ee2f2777a5404ab5.tar.gz
gdb-f9dd0b02e897f9e362bbd853ee2f2777a5404ab5.tar.bz2
* ld-gc/gc.c: Make sure used_func is not inlined.
Diffstat (limited to 'ld/testsuite/ld-gc')
-rw-r--r--ld/testsuite/ld-gc/gc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/testsuite/ld-gc/gc.c b/ld/testsuite/ld-gc/gc.c
index c662f72..6b356ad 100644
--- a/ld/testsuite/ld-gc/gc.c
+++ b/ld/testsuite/ld-gc/gc.c
@@ -8,6 +8,7 @@ unused_func (int v)
}
int
+__attribute__((noinline))
used_func (int v)
{
return 2 * used_var;