aboutsummaryrefslogtreecommitdiff
path: root/libbacktrace/edtest.c
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2019-12-05 03:56:40 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-12-05 03:56:40 +0000
commit70bfe5a714745d22d30a0f29d582c64c2dad7f10 (patch)
treef25ad2ce8aaade82dbf1a3587d531d34fc314327 /libbacktrace/edtest.c
parent66ab583969c8fe833723703870a061b362de77fa (diff)
* edtest.c (test1): Add noclone attribute.
From-SVN: r278985
Diffstat (limited to 'libbacktrace/edtest.c')
-rw-r--r--libbacktrace/edtest.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbacktrace/edtest.c b/libbacktrace/edtest.c
index 0aafafcc152..17775d7c426 100644
--- a/libbacktrace/edtest.c
+++ b/libbacktrace/edtest.c
@@ -43,8 +43,7 @@ POSSIBILITY OF SUCH DAMAGE. */
#include "testlib.h"
-static int test1 (void) __attribute__ ((noinline, unused));
-static int test1 (void) __attribute__ ((noinline, unused));
+static int test1 (void) __attribute__ ((noinline, noclone, unused));
extern int f2 (int);
extern int f3 (int, int);