diff options
author | Ian Lance Taylor <iant@golang.org> | 2024-07-11 16:07:06 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2024-07-11 16:12:47 -0700 |
commit | 8f7c06df424fffa88422f83ba0a7c58576ae3d91 (patch) | |
tree | f54584a767fc4cecb88e1b7271ed791a0690202c /libbacktrace/edtest.c | |
parent | 43763bd75f1d37189ba08657a322e91d240e8cf3 (diff) | |
download | gcc-8f7c06df424fffa88422f83ba0a7c58576ae3d91.zip gcc-8f7c06df424fffa88422f83ba0a7c58576ae3d91.tar.gz gcc-8f7c06df424fffa88422f83ba0a7c58576ae3d91.tar.bz2 |
libbacktrace: fix testsuite for clang
* btest.c (test1, test3): Add optnone attribute.
* edtest.c (test1): Likewise.
* mtest.c (test1, test3): Likewise.
* configure.ac: Use -Wno-attributes and -Wno-unknown-attributes.
* configure: Regenerate.
Diffstat (limited to 'libbacktrace/edtest.c')
-rw-r--r-- | libbacktrace/edtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbacktrace/edtest.c b/libbacktrace/edtest.c index d99b8a6..b644d93 100644 --- a/libbacktrace/edtest.c +++ b/libbacktrace/edtest.c @@ -43,7 +43,7 @@ POSSIBILITY OF SUCH DAMAGE. */ #include "testlib.h" -static int test1 (void) __attribute__ ((noinline, noclone, unused)); +static int test1 (void) __attribute__ ((noinline, noclone, optnone, unused)); extern int f2 (int); extern int f3 (int, int); |