From patchwork Fri Nov 26 15:15:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 48193 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 03F7F3858435 for ; Fri, 26 Nov 2021 15:17:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 03F7F3858435 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1637939877; bh=ENZMBEkKpZ9wtQtcUxv2Wyjx23APgsYM0GvbXpQoQbg=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=sIHkVMoVnyn/NVAdCeELZVjF/GCpN4fJQIblpIcprweEMIkw4MXpvv2WMASQHah32 Ol0RW990Y/7eaatRa1Uke/4RFxgzfuwxAjZg41D1DHuav5i7t1gMppm4Sp3ghoJ1pd U4BBJZCmvJ+xPB2eWuJONj3B6B78YYRVXVtGhx/0= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 903863858013 for ; Fri, 26 Nov 2021 15:15:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 903863858013 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-563-CSfqLaA1M7mx3PKzgMkykw-1; Fri, 26 Nov 2021 10:15:49 -0500 X-MC-Unique: CSfqLaA1M7mx3PKzgMkykw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CFF0F19251A2; Fri, 26 Nov 2021 15:15:48 +0000 (UTC) Received: from localhost (unknown [10.33.36.17]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5BEB479453; Fri, 26 Nov 2021 15:15:48 +0000 (UTC) To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed 1/3] libstdc++: Remove redundant xfail selectors in dg-do compile tests Date: Fri, 26 Nov 2021 15:15:45 +0000 Message-Id: <20211126151547.1728536-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-14.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, URI_HEX autolearn=unavailable autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jonathan Wakely via Gcc-patches From: Jonathan Wakely Reply-To: Jonathan Wakely Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Tested x86_64-linux, pushed to trunk. An 'xfail' selector means the test is expected to fail at runtime, so is ignored for a compile-only test. The way to mark a compile-only test as failing is with dg-error (which these already do). libstdc++-v3/ChangeLog: * testsuite/21_strings/basic_string_view/element_access/char/back_constexpr_neg.cc: Remove xfail selector. * testsuite/21_strings/basic_string_view/element_access/char/constexpr_neg.cc: Likewise. Likewise. * testsuite/21_strings/basic_string_view/element_access/char/front_constexpr_neg.cc: Likewise. * testsuite/21_strings/basic_string_view/element_access/wchar_t/back_constexpr_neg.cc: Likewise. * testsuite/21_strings/basic_string_view/element_access/wchar_t/constexpr_neg.cc: Likewise. * testsuite/21_strings/basic_string_view/element_access/wchar_t/front_constexpr_neg.cc: Likewise. * testsuite/23_containers/span/101411.cc: Likewise. * testsuite/25_algorithms/copy/debug/constexpr_neg.cc: Likewise. * testsuite/25_algorithms/copy_backward/debug/constexpr_neg.cc: Likewise. * testsuite/25_algorithms/equal/constexpr_neg.cc: Likewise. * testsuite/25_algorithms/equal/debug/constexpr_neg.cc: Likewise. * testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_neg.cc: Likewise. * testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_pred_neg.cc: Likewise. * testsuite/25_algorithms/lower_bound/debug/constexpr_valid_range_neg.cc: Likewise. * testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_neg.cc: Likewise. * testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_pred_neg.cc: Likewise. * testsuite/25_algorithms/upper_bound/debug/constexpr_valid_range_neg.cc: Likewise. --- .../basic_string_view/element_access/char/back_constexpr_neg.cc | 2 +- .../basic_string_view/element_access/char/constexpr_neg.cc | 2 +- .../element_access/char/front_constexpr_neg.cc | 2 +- .../element_access/wchar_t/back_constexpr_neg.cc | 2 +- .../basic_string_view/element_access/wchar_t/constexpr_neg.cc | 2 +- .../element_access/wchar_t/front_constexpr_neg.cc | 2 +- libstdc++-v3/testsuite/23_containers/span/101411.cc | 2 +- .../testsuite/25_algorithms/copy/debug/constexpr_neg.cc | 2 +- .../25_algorithms/copy_backward/debug/constexpr_neg.cc | 2 +- libstdc++-v3/testsuite/25_algorithms/equal/constexpr_neg.cc | 2 +- .../testsuite/25_algorithms/equal/debug/constexpr_neg.cc | 2 +- .../lower_bound/debug/constexpr_partitioned_neg.cc | 2 +- .../lower_bound/debug/constexpr_partitioned_pred_neg.cc | 2 +- .../lower_bound/debug/constexpr_valid_range_neg.cc | 2 +- .../upper_bound/debug/constexpr_partitioned_neg.cc | 2 +- .../upper_bound/debug/constexpr_partitioned_pred_neg.cc | 2 +- .../upper_bound/debug/constexpr_valid_range_neg.cc | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/back_constexpr_neg.cc b/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/back_constexpr_neg.cc index 2da90bd954e..dac116da003 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/back_constexpr_neg.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/back_constexpr_neg.cc @@ -16,7 +16,7 @@ // . // { dg-options "-D_GLIBCXX_ASSERTIONS" } -// { dg-do compile { target c++17 xfail *-*-* } } +// { dg-do compile { target c++17 } } #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/constexpr_neg.cc b/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/constexpr_neg.cc index 844b62277c5..8918f7eaf10 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/constexpr_neg.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/constexpr_neg.cc @@ -16,7 +16,7 @@ // . // { dg-options "-D_GLIBCXX_ASSERTIONS" } -// { dg-do compile { target c++17 xfail *-*-* } } +// { dg-do compile { target c++17 } } #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/front_constexpr_neg.cc b/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/front_constexpr_neg.cc index d6dceb61a34..923b938b3fb 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/front_constexpr_neg.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/char/front_constexpr_neg.cc @@ -16,7 +16,7 @@ // . // { dg-options "-D_GLIBCXX_ASSERTIONS" } -// { dg-do compile { target c++17 xfail *-*-* } } +// { dg-do compile { target c++17 } } #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/wchar_t/back_constexpr_neg.cc b/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/wchar_t/back_constexpr_neg.cc index 798e1a4074d..73a8a1a32f7 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/wchar_t/back_constexpr_neg.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/wchar_t/back_constexpr_neg.cc @@ -16,7 +16,7 @@ // . // { dg-options "-D_GLIBCXX_ASSERTIONS" } -// { dg-do compile { target c++17 xfail *-*-* } } +// { dg-do compile { target c++17 } } #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/wchar_t/constexpr_neg.cc b/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/wchar_t/constexpr_neg.cc index 0e22b766b3d..b8c4c78b09e 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/wchar_t/constexpr_neg.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/wchar_t/constexpr_neg.cc @@ -16,7 +16,7 @@ // . // { dg-options "-D_GLIBCXX_ASSERTIONS" } -// { dg-do compile { target c++17 xfail *-*-* } } +// { dg-do compile { target c++17 } } #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/wchar_t/front_constexpr_neg.cc b/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/wchar_t/front_constexpr_neg.cc index f49774a0bdd..19d00cc3779 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/wchar_t/front_constexpr_neg.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string_view/element_access/wchar_t/front_constexpr_neg.cc @@ -16,7 +16,7 @@ // . // { dg-options "-D_GLIBCXX_ASSERTIONS" } -// { dg-do compile { target c++17 xfail *-*-* } } +// { dg-do compile { target c++17 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/span/101411.cc b/libstdc++-v3/testsuite/23_containers/span/101411.cc index 05bdd3badbd..dbc13c5c75f 100644 --- a/libstdc++-v3/testsuite/23_containers/span/101411.cc +++ b/libstdc++-v3/testsuite/23_containers/span/101411.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++20" } -// { dg-do compile { xfail c++20 } } +// { dg-do compile { target c++20 } } #include // PR libstdc++/101411 diff --git a/libstdc++-v3/testsuite/25_algorithms/copy/debug/constexpr_neg.cc b/libstdc++-v3/testsuite/25_algorithms/copy/debug/constexpr_neg.cc index 4f324038a10..9a384ef6fef 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy/debug/constexpr_neg.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy/debug/constexpr_neg.cc @@ -16,7 +16,7 @@ // . // { dg-options "-std=gnu++2a" } -// { dg-do compile { target c++2a xfail *-*-* } } +// { dg-do compile { target c++2a } } // { dg-require-debug-mode "" } #include diff --git a/libstdc++-v3/testsuite/25_algorithms/copy_backward/debug/constexpr_neg.cc b/libstdc++-v3/testsuite/25_algorithms/copy_backward/debug/constexpr_neg.cc index 05183cff16a..65c36edd607 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy_backward/debug/constexpr_neg.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy_backward/debug/constexpr_neg.cc @@ -16,7 +16,7 @@ // . // { dg-options "-std=gnu++2a" } -// { dg-do compile { target c++2a xfail *-*-* } } +// { dg-do compile { target c++2a } } // { dg-require-debug-mode "" } #include diff --git a/libstdc++-v3/testsuite/25_algorithms/equal/constexpr_neg.cc b/libstdc++-v3/testsuite/25_algorithms/equal/constexpr_neg.cc index b4fe79a0f23..0306a767c6f 100644 --- a/libstdc++-v3/testsuite/25_algorithms/equal/constexpr_neg.cc +++ b/libstdc++-v3/testsuite/25_algorithms/equal/constexpr_neg.cc @@ -16,7 +16,7 @@ // . // { dg-options "-std=gnu++2a" } -// { dg-do compile { target c++2a xfail *-*-* } } +// { dg-do compile { target c++2a } } // { dg-require-normal-mode "" } #include diff --git a/libstdc++-v3/testsuite/25_algorithms/equal/debug/constexpr_neg.cc b/libstdc++-v3/testsuite/25_algorithms/equal/debug/constexpr_neg.cc index 44f9fb970d8..be83f96f6d2 100644 --- a/libstdc++-v3/testsuite/25_algorithms/equal/debug/constexpr_neg.cc +++ b/libstdc++-v3/testsuite/25_algorithms/equal/debug/constexpr_neg.cc @@ -16,7 +16,7 @@ // . // { dg-options "-std=gnu++2a" } -// { dg-do compile { target c++2a xfail *-*-* } } +// { dg-do compile { target c++2a } } // { dg-require-debug-mode "" } #include diff --git a/libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_neg.cc b/libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_neg.cc index 56d80d61ae2..16d766a6a5d 100644 --- a/libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_neg.cc +++ b/libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_neg.cc @@ -16,7 +16,7 @@ // . // { dg-options "-std=gnu++2a" } -// { dg-do compile { target c++2a xfail *-*-* } } +// { dg-do compile { target c++2a } } // { dg-require-debug-mode { } } #include diff --git a/libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_pred_neg.cc b/libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_pred_neg.cc index ab931bbc731..0c38da2fee1 100644 --- a/libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_pred_neg.cc +++ b/libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_pred_neg.cc @@ -16,7 +16,7 @@ // . // { dg-options "-std=gnu++2a" } -// { dg-do compile { target c++2a xfail *-*-* } } +// { dg-do compile { target c++2a } } // { dg-require-debug-mode { } } #include diff --git a/libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/constexpr_valid_range_neg.cc b/libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/constexpr_valid_range_neg.cc index fee67e52172..c9212aac5cb 100644 --- a/libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/constexpr_valid_range_neg.cc +++ b/libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/constexpr_valid_range_neg.cc @@ -16,7 +16,7 @@ // . // { dg-options "-std=gnu++2a" } -// { dg-do compile { target c++2a xfail *-*-* } } +// { dg-do compile { target c++2a } } // { dg-require-debug-mode { } } #include diff --git a/libstdc++-v3/testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_neg.cc b/libstdc++-v3/testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_neg.cc index 7937ac8d308..0e956074b82 100644 --- a/libstdc++-v3/testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_neg.cc +++ b/libstdc++-v3/testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_neg.cc @@ -16,7 +16,7 @@ // . // { dg-options "-std=gnu++2a" } -// { dg-do compile { target c++2a xfail *-*-* } } +// { dg-do compile { target c++2a } } // { dg-require-debug-mode { } } #include diff --git a/libstdc++-v3/testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_pred_neg.cc b/libstdc++-v3/testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_pred_neg.cc index 7d33eb535fa..589a01cc404 100644 --- a/libstdc++-v3/testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_pred_neg.cc +++ b/libstdc++-v3/testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_pred_neg.cc @@ -16,7 +16,7 @@ // . // { dg-options "-std=gnu++2a" } -// { dg-do compile { target c++2a xfail *-*-* } } +// { dg-do compile { target c++2a } } // { dg-require-debug-mode { } } #include diff --git a/libstdc++-v3/testsuite/25_algorithms/upper_bound/debug/constexpr_valid_range_neg.cc b/libstdc++-v3/testsuite/25_algorithms/upper_bound/debug/constexpr_valid_range_neg.cc index 9c2d0657208..4446abbc8c2 100644 --- a/libstdc++-v3/testsuite/25_algorithms/upper_bound/debug/constexpr_valid_range_neg.cc +++ b/libstdc++-v3/testsuite/25_algorithms/upper_bound/debug/constexpr_valid_range_neg.cc @@ -16,7 +16,7 @@ // . // { dg-options "-std=gnu++2a" } -// { dg-do compile { target c++2a xfail *-*-* } } +// { dg-do compile { target c++2a } } // { dg-require-debug-mode { } } #include From patchwork Fri Nov 26 15:15:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 48192 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 609973857C4A for ; Fri, 26 Nov 2021 15:16:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 609973857C4A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1637939782; bh=J3wgb2JwZEIqSBjGdfldhJtAc7jbz4z+T7H5GY92pEg=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=FtOFOJ8y5bRTNgsOp82P8cXsgZTYe1rBkxbIzRZKjBYNwLq7DnYj/g7JbopBFKa0o g1gRbgT0eTtQnkQU5iR4lCLm7ftuq+VGycWWd8WeTY3ocqf26Ss7wgyofL8r9Rjzv6 X1EF9LbgQ52K4QO6YhxE8rEXENyxpnm2mdLrHuSw= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 188423858435 for ; Fri, 26 Nov 2021 15:15:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 188423858435 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-597-WVUhmaeJNv2zDyYZoNkCjQ-1; Fri, 26 Nov 2021 10:15:51 -0500 X-MC-Unique: WVUhmaeJNv2zDyYZoNkCjQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3625210144E0; Fri, 26 Nov 2021 15:15:50 +0000 (UTC) Received: from localhost (unknown [10.33.36.17]) by smtp.corp.redhat.com (Postfix) with ESMTP id DB6A010016FE; Fri, 26 Nov 2021 15:15:49 +0000 (UTC) To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed 2/3] libstdc++: Fix dg-do directive for tests supposed to be run Date: Fri, 26 Nov 2021 15:15:46 +0000 Message-Id: <20211126151547.1728536-2-jwakely@redhat.com> In-Reply-To: <20211126151547.1728536-1-jwakely@redhat.com> References: <20211126151547.1728536-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-14.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jonathan Wakely via Gcc-patches From: Jonathan Wakely Reply-To: Jonathan Wakely Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Tested x86_64-linux, pushed to trunk. libstdc++-v3/ChangeLog: * testsuite/23_containers/unordered_map/modifiers/move_assign.cc: Change dg-do compile to run. * testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc: Likewise. --- .../23_containers/unordered_map/modifiers/move_assign.cc | 2 +- .../27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/move_assign.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/move_assign.cc index 2af50d8985e..cb0db867f62 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/move_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/move_assign.cc @@ -1,4 +1,4 @@ -// { dg-do compile { target c++11 } } +// { dg-do run { target c++11 } } // Copyright (C) 2020-2021 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc index 6aec0e94482..a3da636317f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc @@ -16,7 +16,7 @@ // . // { dg-options "-std=gnu++2a" } -// { dg-do compile { target c++2a } } +// { dg-do run { target c++2a } } // LWG 2499 // operator>>(basic_istream&, CharT*) makes it hard to avoid buffer overflows From patchwork Fri Nov 26 15:15:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 48194 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 45896385801A for ; Fri, 26 Nov 2021 15:19:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 45896385801A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1637939965; bh=2yJ4fXR2QMXhFRH/tyAvIO5WNwwZESsNpEgBqyhnUO8=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=dX3UY69yOqy7j4Lnf1RMSJsIaUbyuTV+x9pr73laxNeAXjykQNxmFNuGSjnKKpeLJ Br2fmo5lFiMMzyaKT7CVR6Kd7NjZpRNp8/Ulu74yUpxgGm2M3cgmS0UNBpmSegF/pT BFx2EJvv5AxYHMn9oWNCg2x9WvY1mfr7Ne3GbrrI= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 2A7053858435 for ; Fri, 26 Nov 2021 15:15:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2A7053858435 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-550-3D1fuURSPWmYVVWVGEQIPA-1; Fri, 26 Nov 2021 10:15:53 -0500 X-MC-Unique: 3D1fuURSPWmYVVWVGEQIPA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5CCBB2F25; Fri, 26 Nov 2021 15:15:51 +0000 (UTC) Received: from localhost (unknown [10.33.36.17]) by smtp.corp.redhat.com (Postfix) with ESMTP id 11FB479453; Fri, 26 Nov 2021 15:15:50 +0000 (UTC) To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed 3/3] libstdc++: Ensure dg-add-options comes after dg-options Date: Fri, 26 Nov 2021 15:15:47 +0000 Message-Id: <20211126151547.1728536-3-jwakely@redhat.com> In-Reply-To: <20211126151547.1728536-1-jwakely@redhat.com> References: <20211126151547.1728536-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-14.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jonathan Wakely via Gcc-patches From: Jonathan Wakely Reply-To: Jonathan Wakely Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Tested x86_64-linux, pushed to trunk. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc b/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc index b2008368a95..5330ff01c96 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-add-options ieee } // { dg-options "-std=gnu++2a" } +// { dg-add-options ieee } // { dg-do run { target c++2a } } #include