From patchwork Wed Sep 14 13:17:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 76180 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp1870703qgf; Wed, 14 Sep 2016 06:18:04 -0700 (PDT) X-Received: by 10.98.73.22 with SMTP id w22mr4483366pfa.62.1473859084454; Wed, 14 Sep 2016 06:18:04 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id w84si11250725pfi.135.2016.09.14.06.18.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Sep 2016 06:18:04 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-435858-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-435858-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-435858-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; q=dns; s=default; b=c1UI2PzrgQJQONX tozvr+Qh7iF2feJCAIw52tXKqIiqgP+xuUHZtz65HjExVOTx4uBXLbYclrjfyzgL Z5b9RtUcAS5/gHWoOSLhw1wi91B6b6yAo4bkNmHR7UZSy/CVXg1JF0hwjYvF0wXd 82vT6HND5l9YLAoTPv7D9CTTz3y8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; s=default; bh=CwRac/4VykASmEi74D33h XeLO4g=; b=Qiz/75eljLfvan/fVjXMCuMA/fuHu4JkZi9DXF6vdCRVDXDgm3tyw 6yVPLA/flaYNJsjQocai/aBrdCOPLMZR8VYpt0TarAQ9wiZbL2kig5dO+M+Kv2CN qbXNPMrR0ymX9dFZmoBZcqUgDgF3mLxLcCbTwWaVsH10c2IWVvnPQs= Received: (qmail 33366 invoked by alias); 14 Sep 2016 13:17:34 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 33338 invoked by uid 89); 14 Sep 2016 13:17:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=matthew, Matthew, 49, jwakelyredhatcom X-HELO: mail-qk0-f172.google.com Received: from mail-qk0-f172.google.com (HELO mail-qk0-f172.google.com) (209.85.220.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 Sep 2016 13:17:22 +0000 Received: by mail-qk0-f172.google.com with SMTP id h8so12753601qka.1 for ; Wed, 14 Sep 2016 06:17:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=agri7jbwOrEz12tKUt6QDi/KpmacbMw2GW4VDnS/6Ls=; b=JwEW74jHiErvGbJC/9iX/g5lAy/QMjAKQbxCpFXpvOR9ALy53PmswLq5uOFQUbPoWR 2FRBwx6Xivdo1dH3oRw9Gxd4y+CeOsMuHtHHSOcK7gfCsgEngWA2jMRxaTOMAi5AGcHZ 9V8VnGGCm4TcqaoIwB3NM4padCpq/qRVxwxsHfBAMDLqqE1rPlWa4daZN73l6VGH1ELZ RhGyrFK8LNbzXVtW4HcA1irLo7G5FBU0hd7wiWw33JtLr8ohMgL2lSPnmRwQyZP4ucQ2 8cHgW95fl0GUtLZo+QOLE+iaFqAoaj7koVj7EJOOd4uCbfKIVpqkX+l2jgJstEwicV4k owSw== X-Gm-Message-State: AE9vXwPjo7GNA6/rDWN5KZahkxsL7DYqLa95SZlgX5eK0j53YcQMyzcFC5S+lGPlaPja5oCcqMmKLxjaCSM/MXZx X-Received: by 10.55.184.2 with SMTP id i2mr2877172qkf.48.1473859041156; Wed, 14 Sep 2016 06:17:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.21.102 with HTTP; Wed, 14 Sep 2016 06:17:19 -0700 (PDT) In-Reply-To: <20160906101528.GA32255@redhat.com> References: <57C97BF8.5090601@foss.arm.com> <20160906101528.GA32255@redhat.com> From: Christophe Lyon Date: Wed, 14 Sep 2016 15:17:20 +0200 Message-ID: Subject: Re: [libstdc++-v3] Fix dg-require before dg-run directives in testsuite. To: Jonathan Wakely Cc: Matthew Wahab , gcc-patches , "libstdc++" X-IsSubscribed: yes On 6 September 2016 at 12:15, Jonathan Wakely wrote: > On 02/09/16 14:17 +0100, Matthew Wahab wrote: >> >> Hello, >> >> Tests in the libstdc++-v3 testsuite were recently changed to use { dg-do >> .. { target c++11 } } instead of using a dg-options to set -std >> (https://gcc.gnu.org/ml/libstdc++/2016-08/msg00102.html). As a >> consequence, several tests were left with directive lists that had >> dg-require preceding dg-do. This meant that some tests were run when >> they should have been skipped as unsupported. In particular, most of the >> 23_algorithms/*/complexity.cc tests became FAIL on aarch64-none-elf >> >> This patch adjusts the tests so that the dg-requires come after the >> dg-do directives. The makes the tests that were previously >> FAIL/UNRESOLVED become UNSUPPORTED. It also makes UNSUPPORTED some tests >> that were PASS. >> >> The tests that move from FAIL/UNRESOLVED to UNSUPPORTED: >> >> - 22_locale/locale/cons/unicode.cc. >> - 25_algorithms/{pop_heap,push_heap,sort_heap}/complexity.c. >> >> From PASS to UNSUPPORTED: >> >> - 23_containers/*/debug/60499.c >> - 23_containers/vector/debug/52433.c >> >> Tested by running the testsuite for cross-compiled aarch64-none-elf. >> >> Ok for trunk? > > > Yes, thanks for cleaning this up. > > Hello, It seems some tests still have dg-require or dg-skip before dg-do. The attached patch fixes that, the only effect is that 25_algorithms/lower_bound/debug/irreflexive.cc is now UNSUPPORTED instead of PASS on arm* and aarch64* targets. I'm not sure if that's expected. I do see: "#error No debug mode" in the logs. OK for trunk? Thanks, Christophe 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. diff --git a/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-mangle.C b/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-mangle.C index 20ef282..15b8b79 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 7a0d331..e857502 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 709ece5..e82323c 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 c0cc1eb..1247394 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 e443f48..2c80559 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 78dd7be..2bebf7e 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/testsuite/21_strings/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/21_strings/debug/iterator_self_move_assign_neg.cc index 6d10bb1..f481115 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 360f077..a72cb87 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 bcd548c..fd94c78 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 d0fb7fc..bb9b35e 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 ae205be..51ebc84 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 9b0866d..9ee2067 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 aca8657..974c80a 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 a6c36bb..ac4aabd 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 723cce0..0e51ca3 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 24e659f..5c91dad 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 245c6bf..63b3e1a 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 c43e3ad..9d09983 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 80b8e17..4d8632c 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 000643d..6514cca 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 ee65e6f..1cb29ec 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 1554df0..08a3170 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 1ebc3bd..52076aa 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 e30533f..5bc2d99 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 358fb90..96c1ab9 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 40cf752..582ba35 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 d6108d5..6c4f8fa 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 8806a3c..31b81a6 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. //