aboutsummaryrefslogtreecommitdiff
path: root/ld
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
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')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-gc/gc.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index ec2971a..f55e310 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -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.
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;