aboutsummaryrefslogtreecommitdiff
path: root/stdlib/tst-setcontext10.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-setcontext10.c')
-rw-r--r--stdlib/tst-setcontext10.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/tst-setcontext10.c b/stdlib/tst-setcontext10.c
index 7267f5e..55d01ba 100644
--- a/stdlib/tst-setcontext10.c
+++ b/stdlib/tst-setcontext10.c
@@ -1,5 +1,5 @@
/* Check longjmp from user context to main context.
- Copyright (C) 2023-2024 Free Software Foundation, Inc.
+ Copyright (C) 2023-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -37,7 +37,7 @@ static ucontext_t ctx;
static void f2 (void);
static void
-__attribute__ ((noinline, noclone))
+__attribute_optimization_barrier__
f1 (void)
{
printf ("start f1\n");
@@ -45,7 +45,7 @@ f1 (void)
}
static void
-__attribute__ ((noinline, noclone))
+__attribute_optimization_barrier__
f2 (void)
{
printf ("start f2\n");
@@ -64,7 +64,7 @@ f3 (void)
}
static int
-__attribute__ ((noinline, noclone))
+__attribute_optimization_barrier__
do_test_1 (void)
{
char st1[32768];