]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Ensure dg-add-options comes after dg-options
authorJonathan Wakely <jwakely@redhat.com>
Fri, 26 Nov 2021 15:10:43 +0000 (15:10 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 26 Nov 2021 15:11:58 +0000 (15:11 +0000)
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

index b2008368a95a79a1ebf29c0ea56f61269f0503be..5330ff01c96b2a2827245af6409412199533aa02 100644 (file)
@@ -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>