diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2008-01-23 16:05:45 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2008-01-23 16:05:45 +0000 |
commit | f9dd0b02e897f9e362bbd853ee2f2777a5404ab5 (patch) | |
tree | ba02d7fbf1ccc92551701aa39b6d3e9db44fc12c /ld/testsuite/ld-gc | |
parent | 2cb4f3d5a91ac608dd477d016dc9f695be516af0 (diff) | |
download | gdb-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.c | 1 |
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; |