From d1c7d3a80bb4029abb4b4c4ffe59e0a49c3fd8ee Mon Sep 17 00:00:00 2001 From: Kugan Vivekanandarajah Date: Mon, 24 Oct 2016 22:31:14 +0000 Subject: [PATCH] test_frame_common.h: Add noclone attribute such that cloned verions of tested functions are not created. gcc/testsuite/ChangeLog: 2016-10-24 Kugan Vivekanandarajah * gcc.target/aarch64/test_frame_common.h: Add noclone attribute such that cloned verions of tested functions are not created. From-SVN: r241499 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/aarch64/test_frame_common.h | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0cc1027b3bb..e5497e41cfe 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-10-24 Kugan Vivekanandarajah + + * gcc.target/aarch64/test_frame_common.h: Add noclone attribute + such that cloned verions of tested functions are not created. + 2016-10-24 Steven G. Kargl PR fortran/71895 diff --git a/gcc/testsuite/gcc.target/aarch64/test_frame_common.h b/gcc/testsuite/gcc.target/aarch64/test_frame_common.h index d7fed250ca8..c63fbcedd79 100644 --- a/gcc/testsuite/gcc.target/aarch64/test_frame_common.h +++ b/gcc/testsuite/gcc.target/aarch64/test_frame_common.h @@ -2,7 +2,7 @@ extern void abort (); #define CVT(v) ((unsigned char)(v)) -static void __attribute__((noinline)) +static void __attribute__((noinline, noclone)) check_args_8 (int a0, int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8) { @@ -18,7 +18,7 @@ check_args_8 (int a0, int a1, int a2, int a3, int a4, int a5, int a6, int a7, abort (); } -static void __attribute__((noinline)) +static void __attribute__((noinline, noclone)) check_args_24 (int a0, int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8, int a9, int a10) { @@ -36,7 +36,7 @@ check_args_24 (int a0, int a1, int a2, int a3, int a4, int a5, int a6, int a7, abort (); } -void __attribute__ ((noinline)) +void __attribute__ ((noinline, noclone)) initialize_array (unsigned char *a, int len) { int i; -- 2.30.2