Use dg-additional-options in libstdc++ tests
* testsuite/17_intro/headers/c++2011/stdc++.cc: Change target-specific dg-options to dg-additional-options so that default options are used. * testsuite/17_intro/headers/c++2011/stdc++_multiple_inclusion.cc: Likewise. * testsuite/17_intro/headers/c++2014/stdc++.cc: Likewise. * testsuite/17_intro/headers/c++2014/stdc++_multiple_inclusion.cc: Likewise. * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc: Use dg-additional-options instead of repeating the common options. From-SVN: r238835
This commit is contained in:
parent
2de6b25424
commit
c3c2f97308
@ -1,5 +1,15 @@
|
||||
2016-07-28 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* testsuite/17_intro/headers/c++2011/stdc++.cc: Change target-specific
|
||||
dg-options to dg-additional-options so that default options are used.
|
||||
* testsuite/17_intro/headers/c++2011/stdc++_multiple_inclusion.cc:
|
||||
Likewise.
|
||||
* testsuite/17_intro/headers/c++2014/stdc++.cc: Likewise.
|
||||
* testsuite/17_intro/headers/c++2014/stdc++_multiple_inclusion.cc:
|
||||
Likewise.
|
||||
* testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
|
||||
Use dg-additional-options instead of repeating the common options.
|
||||
|
||||
* testsuite/22_locale/conversions/string/1.cc: Remove unintended
|
||||
dg-do compile directive.
|
||||
* testsuite/26_numerics/headers/cmath/fabs_inline.cc: Fix syntax of
|
||||
|
@ -1,6 +1,6 @@
|
||||
// FreeBSD wants warning clean system headers:
|
||||
// { dg-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } }
|
||||
// { dg-options "-std=gnu++11" }
|
||||
// { dg-additional-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } }
|
||||
// { dg-do compile }
|
||||
|
||||
// Copyright (C) 2007-2016 Free Software Foundation, Inc.
|
||||
|
@ -1,6 +1,6 @@
|
||||
// FreeBSD wants warning clean system headers:
|
||||
// { dg-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } }
|
||||
// { dg-options "-std=gnu++11" }
|
||||
// { dg-additional-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } }
|
||||
// { dg-do compile }
|
||||
|
||||
// Copyright (C) 2007-2016 Free Software Foundation, Inc.
|
||||
|
@ -1,6 +1,6 @@
|
||||
// FreeBSD wants warning clean system headers:
|
||||
// { dg-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } }
|
||||
// { dg-options "-std=gnu++14" }
|
||||
// { dg-additional-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } }
|
||||
// { dg-do compile }
|
||||
|
||||
// Copyright (C) 2015-2016 Free Software Foundation, Inc.
|
||||
|
@ -1,6 +1,6 @@
|
||||
// FreeBSD wants warning clean system headers:
|
||||
// { dg-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } }
|
||||
// { dg-options "-std=gnu++14" }
|
||||
// { dg-additional-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } }
|
||||
// { dg-do compile }
|
||||
|
||||
// Copyright (C) 2015-2016 Free Software Foundation, Inc.
|
||||
|
@ -1,6 +1,6 @@
|
||||
// { dg-do compile { target i?86-*-* x86_64-*-* } }
|
||||
// { dg-options "-std=gnu++11 -g0 -fno-exceptions -fno-asynchronous-unwind-tables" }
|
||||
// { dg-options "-std=gnu++11 -g0 -fno-exceptions -fno-asynchronous-unwind-tables -march=i486" { target ia32 } }
|
||||
// { dg-additional-options "-march=i486" { target ia32 } }
|
||||
// { dg-final { scan-assembler-times "xacquire\|\.byte\[^\n\r]*0xf2" 14 } }
|
||||
// { dg-final { scan-assembler-times "xrelease\|\.byte\[^\n\r]*0xf3" 14 } }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user