aboutsummaryrefslogtreecommitdiff
path: root/stdlib/tst-thread-quick_exit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-thread-quick_exit.cc')
-rw-r--r--stdlib/tst-thread-quick_exit.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/tst-thread-quick_exit.cc b/stdlib/tst-thread-quick_exit.cc
index dadccee..a895a56 100644
--- a/stdlib/tst-thread-quick_exit.cc
+++ b/stdlib/tst-thread-quick_exit.cc
@@ -1,5 +1,5 @@
/* Bug 20198: Do not call object destructors at exit.
- Copyright (C) 2016-2024 Free Software Foundation, Inc.
+ Copyright (C) 2016-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
@@ -30,7 +30,7 @@ thread_local A a1;
thread_local A a2;
void
-__attribute__ ((noinline, noclone))
+__attribute_optimization_barrier__
optimization_barrier (A &)
{
}