[committed 3/3] libstdc++: Ensure dg-add-options comes after dg-options

Jonathan Wakely jwakely@redhat.com
Fri Nov 26 15:15:47 GMT 2021


Tested x86_64-linux, pushed to trunk.


This is what the docs say is required.

libstdc++-v3/ChangeLog:

	* testsuite/29_atomics/atomic_float/1.cc: Reorder directives.
---
 libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc b/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc
index b2008368a95..5330ff01c96 100644
--- a/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc
+++ b/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc
@@ -15,8 +15,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-add-options ieee }
 // { dg-options "-std=gnu++2a" }
+// { dg-add-options ieee }
 // { dg-do run { target c++2a } }
 
 #include <atomic>
-- 
2.31.1



More information about the Gcc-patches mailing list