diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-04-18 16:44:25 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-04-18 16:44:25 +0100 |
commit | 4ed6e5244652aa10eb56ab0cfa6768654f16f854 (patch) | |
tree | 69435987560cf11b100937794aaf4e9c898e86fe /libstdc++-v3/testsuite/decimal | |
parent | abb6e0a19db16b185d218256d34be6a8e7045689 (diff) | |
download | gcc-4ed6e5244652aa10eb56ab0cfa6768654f16f854.zip gcc-4ed6e5244652aa10eb56ab0cfa6768654f16f854.tar.gz gcc-4ed6e5244652aa10eb56ab0cfa6768654f16f854.tar.bz2 |
Make use of extensions more explicit in libstdc++ tests
* testsuite/18_support/bad_exception/23591_thread-1.c: Add
-Wno-pedantic to dg-options.
* testsuite/20_util/align/2.cc: Use type as operand of alignof.
* testsuite/20_util/is_floating_point/value.cc: Add -Wno-pedantic
to dg-options.
* testsuite/20_util/specialized_algorithms/uninitialized_fill/32158.cc:
Remove extra semi-colon.
* testsuite/23_containers/array/tuple_interface/tuple_element.cc:
Always supply second argument to static_assert.
* testsuite/25_algorithms/lower_bound/no_operator_ne.cc: Remove extra
semi-colon.
* testsuite/26_numerics/complex/c99.cc: Add -Wno-pedantic to
dg-options.
* testsuite/26_numerics/complex/literals/values.cc: Likewise.
* testsuite/29_atomics/atomic/60695.cc: Likewise.
* testsuite/29_atomics/atomic/62259.cc: use __alignof__ instead of
alignof when operand is an object not a type.
* testsuite/decimal/ctor.cc: Add -Wno-pedantic to dg-options.
* testsuite/decimal/make-decimal.cc: Likewise.
* testsuite/experimental/type_traits/value.cc: Always supply second
argument to static_assert.
* testsuite/util/testsuite_common_types.h: Use __extension__ for
__int128 types.
From-SVN: r235154
Diffstat (limited to 'libstdc++-v3/testsuite/decimal')
-rw-r--r-- | libstdc++-v3/testsuite/decimal/ctor.cc | 1 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/decimal/make-decimal.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/decimal/ctor.cc b/libstdc++-v3/testsuite/decimal/ctor.cc index f322e7f..b289ed0 100644 --- a/libstdc++-v3/testsuite/decimal/ctor.cc +++ b/libstdc++-v3/testsuite/decimal/ctor.cc @@ -16,6 +16,7 @@ // <http://www.gnu.org/licenses/>. // { dg-require-effective-target dfp } +// { dg-options "-Wno-pedantic" } // ISO/IEC TR 24733 3.2.2.1 Construct/copy/destroy (decimal32). // ISO/IEC TR 24733 3.2.3.1 Construct/copy/destroy (decimal64). diff --git a/libstdc++-v3/testsuite/decimal/make-decimal.cc b/libstdc++-v3/testsuite/decimal/make-decimal.cc index 42a608a..b5aafa2 100644 --- a/libstdc++-v3/testsuite/decimal/make-decimal.cc +++ b/libstdc++-v3/testsuite/decimal/make-decimal.cc @@ -16,6 +16,7 @@ // <http://www.gnu.org/licenses/>. // { dg-require-effective-target dfp } +// { dg-options "-Wno-pedantic" } // ISO/IEC TR 24733 3.2.5 Initialization from coefficient and exponent. |