From 13cddbc115038975a531abe3a0aed739307258db Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Wed, 14 Sep 2016 13:37:23 +0000 Subject: [PATCH] Fix dg-require before dg-run directives in testsuite. libstdc++-v3/ChangeLog: 2016-09-14 Christophe Lyon * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Move dg-do directive before dg-skip. * testsuite/21_strings/debug/iterator_self_move_assign_neg.cc: Move dg-do directive before dg-require. * testsuite/21_strings/debug/self_move_assign_neg.cc: Likewise. * testsuite/23_containers/vector/debug/57779_neg.cc: Likewise. * testsuite/23_containers/vector/debug/60587_neg.cc: Likewise. * testsuite/23_containers/vector/debug/assign1_neg.cc: Likewise. * testsuite/23_containers/vector/debug/assign2_neg.cc: Likewise. * testsuite/23_containers/vector/debug/assign3_neg.cc: Likewise. * testsuite/23_containers/vector/debug/construct1_neg.cc: Likewise. * testsuite/23_containers/vector/debug/construct2_neg.cc: Likewise. * testsuite/23_containers/vector/debug/construct3_neg.cc: Likewise. * testsuite/23_containers/vector/debug/insert1_neg.cc: Likewise. * testsuite/23_containers/vector/debug/insert2_neg.cc: Likewise. * testsuite/23_containers/vector/debug/insert3_neg.cc: Likewise. * testsuite/23_containers/vector/debug/insert5_neg.cc: Likewise. * testsuite/25_algorithms/lower_bound/debug/irreflexive.cc: Likewise. * testsuite/25_algorithms/partial_sort_copy/debug/irreflexive_neg.cc: Likewise. * testsuite/25_algorithms/pop_heap/empty2_neg.cc: Likewise. * testsuite/25_algorithms/pop_heap/empty_neg.cc: Likewise. * testsuite/27_io/objects/char/12048-5.cc: Likewise. * testsuite/ext/special_functions/conf_hyperg/check_nan.cc: Likewise. * testsuite/ext/special_functions/hyperg/check_nan.cc: Likewise. gcc/testsuite/ChangeLog: 2016-09-14 Christophe Lyon * g++.dg/cpp0x/lambda/lambda-mangle.C: Move dg-do directive before dg-require. * g++.dg/ext/builtin_alloca.C: Likewise. * g++.dg/template/spec35.C: Likewise. * gcc.dg/builtins-68.c: Likewise. * gcc.misc-tests/gcov-13.c: Likewise. * gcc.misc-tests/gcov-14.c: Likewise. From-SVN: r240135 --- gcc/testsuite/ChangeLog | 10 +++++++ .../g++.dg/cpp0x/lambda/lambda-mangle.C | 2 +- gcc/testsuite/g++.dg/ext/builtin_alloca.C | 2 +- gcc/testsuite/g++.dg/template/spec35.C | 2 +- gcc/testsuite/gcc.dg/builtins-68.c | 2 +- gcc/testsuite/gcc.misc-tests/gcov-13.c | 2 +- gcc/testsuite/gcc.misc-tests/gcov-14.c | 2 +- libstdc++-v3/ChangeLog | 28 +++++++++++++++++++ .../debug/iterator_self_move_assign_neg.cc | 2 +- .../21_strings/debug/self_move_assign_neg.cc | 2 +- .../vector/bool/modifiers/insert/31370.cc | 2 +- .../23_containers/vector/debug/57779_neg.cc | 2 +- .../23_containers/vector/debug/60587_neg.cc | 2 +- .../23_containers/vector/debug/assign1_neg.cc | 2 +- .../23_containers/vector/debug/assign2_neg.cc | 2 +- .../23_containers/vector/debug/assign3_neg.cc | 2 +- .../vector/debug/construct1_neg.cc | 2 +- .../vector/debug/construct2_neg.cc | 2 +- .../vector/debug/construct3_neg.cc | 2 +- .../23_containers/vector/debug/insert1_neg.cc | 2 +- .../23_containers/vector/debug/insert2_neg.cc | 2 +- .../23_containers/vector/debug/insert3_neg.cc | 2 +- .../23_containers/vector/debug/insert5_neg.cc | 2 +- .../lower_bound/debug/irreflexive.cc | 2 +- .../debug/irreflexive_neg.cc | 2 +- .../25_algorithms/pop_heap/empty2_neg.cc | 2 +- .../25_algorithms/pop_heap/empty_neg.cc | 2 +- .../testsuite/27_io/objects/char/12048-5.cc | 3 +- .../conf_hyperg/check_nan.cc | 2 +- .../ext/special_functions/hyperg/check_nan.cc | 2 +- 30 files changed, 66 insertions(+), 29 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e4643717a6a..636f031b3db 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2016-09-14 Christophe Lyon + + * g++.dg/cpp0x/lambda/lambda-mangle.C: Move dg-do directive before + dg-require. + * g++.dg/ext/builtin_alloca.C: Likewise. + * g++.dg/template/spec35.C: Likewise. + * gcc.dg/builtins-68.c: Likewise. + * gcc.misc-tests/gcov-13.c: Likewise. + * gcc.misc-tests/gcov-14.c: Likewise. + 2016-09-13 Jim MacArthur * gfortran.dg/dec_structure_14.f90: New testcase. diff --git a/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-mangle.C b/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-mangle.C index 20ef282ac24..15b8b79ecbc 100644 --- a/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-mangle.C +++ b/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-mangle.C @@ -1,6 +1,6 @@ // Test lambda mangling -// { dg-require-weak "" } // { dg-do compile { target c++11 } } +// { dg-require-weak "" } // { dg-options "-fno-inline" } template int algo(F fn) { return fn(); } diff --git a/gcc/testsuite/g++.dg/ext/builtin_alloca.C b/gcc/testsuite/g++.dg/ext/builtin_alloca.C index 7a0d331ced0..e857502685a 100644 --- a/gcc/testsuite/g++.dg/ext/builtin_alloca.C +++ b/gcc/testsuite/g++.dg/ext/builtin_alloca.C @@ -1,7 +1,7 @@ // PR middle-end/69780 - [4.9/5/6 Regression] ICE on // __builtin_alloca_with_align with small alignment -// { dg-require-effective-target alloca } // { dg-do compile } +// { dg-require-effective-target alloca } #define CHAR_BIT __CHAR_BIT__ #define SIZE_MAX __SIZE_MAX__ diff --git a/gcc/testsuite/g++.dg/template/spec35.C b/gcc/testsuite/g++.dg/template/spec35.C index 709ece5dd90..e82323ce448 100644 --- a/gcc/testsuite/g++.dg/template/spec35.C +++ b/gcc/testsuite/g++.dg/template/spec35.C @@ -2,8 +2,8 @@ // C++ DR 605 -- "...the linkage of an explicit specialization must be that of // the template." -// { dg-require-weak "" } // { dg-do compile { target i?86-*-* x86_64-*-* } } +// { dg-require-weak "" } template static void f1 (T) { } diff --git a/gcc/testsuite/gcc.dg/builtins-68.c b/gcc/testsuite/gcc.dg/builtins-68.c index c0cc1ebdcb9..1247394e4d9 100644 --- a/gcc/testsuite/gcc.dg/builtins-68.c +++ b/gcc/testsuite/gcc.dg/builtins-68.c @@ -1,7 +1,7 @@ /* PR middle-end/69780 - [4.9/5/6 Regression] ICE on __builtin_alloca_with_align with small alignment */ -/* { dg-require-effective-target alloca } */ /* { dg-do compile } */ +/* { dg-require-effective-target alloca } */ /* { dg-options "-Wno-long-long" } */ #define CHAR_BIT __CHAR_BIT__ diff --git a/gcc/testsuite/gcc.misc-tests/gcov-13.c b/gcc/testsuite/gcc.misc-tests/gcov-13.c index e443f48532e..2c80559a34b 100644 --- a/gcc/testsuite/gcc.misc-tests/gcov-13.c +++ b/gcc/testsuite/gcc.misc-tests/gcov-13.c @@ -1,8 +1,8 @@ /* Test gcov weak ellision. */ +/* { dg-do run { target native } } */ /* { dg-options "-fprofile-arcs -ftest-coverage" } */ /* { dg-require-weak "" } */ -/* { dg-do run { target native } } */ /* { dg-additional-sources "gcovpart-13b.c" } */ /* { dg-skip-if "weak ellision not supported" { { hppa*-*-hpux* } && { ! lp64 } } { "*" } { "" } } */ diff --git a/gcc/testsuite/gcc.misc-tests/gcov-14.c b/gcc/testsuite/gcc.misc-tests/gcov-14.c index 78dd7bedd76..2bebf7e4a93 100644 --- a/gcc/testsuite/gcc.misc-tests/gcov-14.c +++ b/gcc/testsuite/gcc.misc-tests/gcov-14.c @@ -1,10 +1,10 @@ /* Test gcov extern inline. */ +/* { dg-do run { target native } } */ /* { dg-options "-O2 -fprofile-arcs -ftest-coverage -fgnu89-inline" } */ /* The following line arranges that Darwin has behavior like elf weak import. */ /* { dg-additional-options "-flat_namespace -undefined suppress" { target *-*-darwin* } } */ /* { dg-require-weak "" } */ -/* { dg-do run { target native } } */ /* { dg-skip-if "undefined weak not supported" { { hppa*-*-hpux* } && { ! lp64 } } } */ /* { dg-skip-if "undefined weak not supported" { powerpc-ibm-aix* } } */ diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index efd17fba91a..1ec0981a5e3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,31 @@ +2016-09-14 Christophe Lyon + + * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: + Move dg-do directive before dg-skip. + * testsuite/21_strings/debug/iterator_self_move_assign_neg.cc: + Move dg-do directive before dg-require. + * testsuite/21_strings/debug/self_move_assign_neg.cc: Likewise. + * testsuite/23_containers/vector/debug/57779_neg.cc: Likewise. + * testsuite/23_containers/vector/debug/60587_neg.cc: Likewise. + * testsuite/23_containers/vector/debug/assign1_neg.cc: Likewise. + * testsuite/23_containers/vector/debug/assign2_neg.cc: Likewise. + * testsuite/23_containers/vector/debug/assign3_neg.cc: Likewise. + * testsuite/23_containers/vector/debug/construct1_neg.cc: Likewise. + * testsuite/23_containers/vector/debug/construct2_neg.cc: Likewise. + * testsuite/23_containers/vector/debug/construct3_neg.cc: Likewise. + * testsuite/23_containers/vector/debug/insert1_neg.cc: Likewise. + * testsuite/23_containers/vector/debug/insert2_neg.cc: Likewise. + * testsuite/23_containers/vector/debug/insert3_neg.cc: Likewise. + * testsuite/23_containers/vector/debug/insert5_neg.cc: Likewise. + * testsuite/25_algorithms/lower_bound/debug/irreflexive.cc: Likewise. + * testsuite/25_algorithms/partial_sort_copy/debug/irreflexive_neg.cc: + Likewise. + * testsuite/25_algorithms/pop_heap/empty2_neg.cc: Likewise. + * testsuite/25_algorithms/pop_heap/empty_neg.cc: Likewise. + * testsuite/27_io/objects/char/12048-5.cc: Likewise. + * testsuite/ext/special_functions/conf_hyperg/check_nan.cc: Likewise. + * testsuite/ext/special_functions/hyperg/check_nan.cc: Likewise. + 2016-09-13 Ville Voutilainen Implement P0040R3, Extending memory management tools. diff --git a/libstdc++-v3/testsuite/21_strings/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/21_strings/debug/iterator_self_move_assign_neg.cc index 6d10bb19e16..f481115471e 100644 --- a/libstdc++-v3/testsuite/21_strings/debug/iterator_self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/21_strings/debug/iterator_self_move_assign_neg.cc @@ -15,9 +15,9 @@ // with this library; see the file COPYING3. If not see // . // +// { dg-do run { xfail *-*-* } } // { dg-require-debug-mode "" } // { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/21_strings/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/21_strings/debug/self_move_assign_neg.cc index 360f0776637..a72cb871f86 100644 --- a/libstdc++-v3/testsuite/21_strings/debug/self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/21_strings/debug/self_move_assign_neg.cc @@ -15,9 +15,9 @@ // with this library; see the file COPYING3. If not see // . // +// { dg-do run { xfail *-*-* } } // { dg-require-debug-mode "" } // { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/insert/31370.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/insert/31370.cc index bcd548c8283..fd94c78407a 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/insert/31370.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/insert/31370.cc @@ -17,8 +17,8 @@ // 23.2.5 class vector [lib.vector.bool] -// { dg-skip-if "" { powerpc64-*-freebsd* } { "*" } { "" } } // { dg-do run { xfail *-*-darwin8.[0-4].* } } +// { dg-skip-if "" { powerpc64-*-freebsd* } { "*" } { "" } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/57779_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/57779_neg.cc index d0fb7fc180f..bb9b35e8ad8 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/57779_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/57779_neg.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-require-debug-mode "" } // { dg-do run { xfail *-*-* } } +// { dg-require-debug-mode "" } #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/60587_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/60587_neg.cc index ae205be41d5..51ebc84041e 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/60587_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/60587_neg.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-require-debug-mode "" } // { dg-do run { xfail *-*-* } } +// { dg-require-debug-mode "" } // PR libstdc++/60587 diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/assign1_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/assign1_neg.cc index 9b0866d57cd..9ee2067ed1a 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/assign1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/assign1_neg.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-require-debug-mode "" } // { dg-do run { xfail *-*-* } } +// { dg-require-debug-mode "" } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/assign2_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/assign2_neg.cc index aca8657d31a..974c80a16b4 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/assign2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/assign2_neg.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-require-debug-mode "" } // { dg-do run { xfail *-*-* } } +// { dg-require-debug-mode "" } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/assign3_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/assign3_neg.cc index a6c36bb2c92..ac4aabd553d 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/assign3_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/assign3_neg.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-require-debug-mode "" } // { dg-do run { xfail *-*-* } } +// { dg-require-debug-mode "" } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/construct1_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/construct1_neg.cc index 723cce0c63e..0e51ca32514 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/construct1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/construct1_neg.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-require-debug-mode "" } // { dg-do run { xfail *-*-* } } +// { dg-require-debug-mode "" } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/construct2_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/construct2_neg.cc index 24e659f662e..5c91dadf00a 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/construct2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/construct2_neg.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-require-debug-mode "" } // { dg-do run { xfail *-*-* } } +// { dg-require-debug-mode "" } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/construct3_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/construct3_neg.cc index 245c6bfd7b0..63b3e1adf88 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/construct3_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/construct3_neg.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-require-debug-mode "" } // { dg-do run { xfail *-*-* } } +// { dg-require-debug-mode "" } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/insert1_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/insert1_neg.cc index c43e3add476..9d09983d040 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/insert1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/insert1_neg.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-require-debug-mode "" } // { dg-do run { xfail *-*-* } } +// { dg-require-debug-mode "" } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/insert2_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/insert2_neg.cc index 80b8e171ea5..4d8632c8e9e 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/insert2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/insert2_neg.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-require-debug-mode "" } // { dg-do run { xfail *-*-* } } +// { dg-require-debug-mode "" } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/insert3_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/insert3_neg.cc index 000643d2ee5..6514cca3ef5 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/insert3_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/insert3_neg.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-require-debug-mode "" } // { dg-do run { xfail *-*-* } } +// { dg-require-debug-mode "" } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/insert5_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/insert5_neg.cc index ee65e6f64a8..1cb29ecf8f3 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/insert5_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/insert5_neg.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-require-debug-mode "" } // { dg-do run { xfail *-*-* } } +// { dg-require-debug-mode "" } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/irreflexive.cc b/libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/irreflexive.cc index 1554df0d97f..08a3170ee58 100644 --- a/libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/irreflexive.cc +++ b/libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/irreflexive.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-require-debug-mode "" } // { dg-do compile } +// { dg-require-debug-mode "" } #include diff --git a/libstdc++-v3/testsuite/25_algorithms/partial_sort_copy/debug/irreflexive_neg.cc b/libstdc++-v3/testsuite/25_algorithms/partial_sort_copy/debug/irreflexive_neg.cc index 1ebc3bde87e..52076aaf4b8 100644 --- a/libstdc++-v3/testsuite/25_algorithms/partial_sort_copy/debug/irreflexive_neg.cc +++ b/libstdc++-v3/testsuite/25_algorithms/partial_sort_copy/debug/irreflexive_neg.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-require-debug-mode "" } // { dg-do run { xfail *-*-* } } +// { dg-require-debug-mode "" } #include diff --git a/libstdc++-v3/testsuite/25_algorithms/pop_heap/empty2_neg.cc b/libstdc++-v3/testsuite/25_algorithms/pop_heap/empty2_neg.cc index e30533f7629..5bc2d99dd03 100644 --- a/libstdc++-v3/testsuite/25_algorithms/pop_heap/empty2_neg.cc +++ b/libstdc++-v3/testsuite/25_algorithms/pop_heap/empty2_neg.cc @@ -17,8 +17,8 @@ // 25.3.6 Heap operations [lib.alg.heap.operations] -// { dg-require-debug-mode "" } // { dg-do run { xfail *-*-* } } +// { dg-require-debug-mode "" } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/pop_heap/empty_neg.cc b/libstdc++-v3/testsuite/25_algorithms/pop_heap/empty_neg.cc index 358fb90f415..96c1ab97327 100644 --- a/libstdc++-v3/testsuite/25_algorithms/pop_heap/empty_neg.cc +++ b/libstdc++-v3/testsuite/25_algorithms/pop_heap/empty_neg.cc @@ -17,8 +17,8 @@ // 25.3.6 Heap operations [lib.alg.heap.operations] -// { dg-require-debug-mode "" } // { dg-do run { xfail *-*-* } } +// { dg-require-debug-mode "" } #include diff --git a/libstdc++-v3/testsuite/27_io/objects/char/12048-5.cc b/libstdc++-v3/testsuite/27_io/objects/char/12048-5.cc index 40cf7529c03..582ba35528f 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/12048-5.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/12048-5.cc @@ -22,9 +22,8 @@ // equivalent and interchangable. Currently however, cin.rdbuf()->sungetc() // only returns characters that were read with cin.rdbuf()->sbumpc() -// { dg-require-fileio "" } - // { dg-do run { xfail *-*-* } } +// { dg-require-fileio "" } #include #include diff --git a/libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/check_nan.cc b/libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/check_nan.cc index d6108d5fd4b..6c4f8faad92 100644 --- a/libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/check_nan.cc +++ b/libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/check_nan.cc @@ -1,7 +1,7 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } -// { dg-do run { target c++11 } } // Copyright (C) 2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/special_functions/hyperg/check_nan.cc b/libstdc++-v3/testsuite/ext/special_functions/hyperg/check_nan.cc index 8806a3c2b1d..31b81a69381 100644 --- a/libstdc++-v3/testsuite/ext/special_functions/hyperg/check_nan.cc +++ b/libstdc++-v3/testsuite/ext/special_functions/hyperg/check_nan.cc @@ -1,7 +1,7 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } -// { dg-do run { target c++11 } } // Copyright (C) 2016 Free Software Foundation, Inc. // -- 2.30.2