From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 DC6293856089 for ; Fri, 12 May 2023 13:44:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DC6293856089 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683899079; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cT+KsOyjmWVGqEIm48sQ0Bs2X6PiFKIpLNnldjTKpyw=; b=IMvEa1okDWFEhuMfGp2R/TjTTbw+PUEQ5LUQ+ANV2OKJpo6y8L4oE0mUTVdOUdHin9BLmj BYpUl+Wm8rZEIbuupxTDiDnRPUlKwp5ExjoX5eL6d2hXUO81q0kTAUQlBEANNJNNqd+2bW 4VxpCNpQtGD84S9dqvGriJI6VZO1S+Q= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-290-SMEsugGXPQeHVnCEaTddJg-1; Fri, 12 May 2023 09:44:36 -0400 X-MC-Unique: SMEsugGXPQeHVnCEaTddJg-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 001561C05EA1; Fri, 12 May 2023 13:44:36 +0000 (UTC) Received: from localhost (unknown [10.42.28.178]) by smtp.corp.redhat.com (Postfix) with ESMTP id BCA34492B07; Fri, 12 May 2023 13:44:35 +0000 (UTC) From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Remove test dependency on _GLIBCXX_USE_C99_STDINT_TR1 Date: Fri, 12 May 2023 14:44:35 +0100 Message-Id: <20230512134435.1291779-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Tested x86_64-linux. Pushed to trunk. -- >8 -- This should have been removed in r9-2029-g612c9c702e2c9e when the char16_t and char32_t specializations of std::codecvt were changed to be defined unconditionally. libstdc++-v3/ChangeLog: * testsuite/22_locale/locale/cons/unicode.cc: Remove dependency on _GLIBCXX_USE_C99_STDINT_TR1. --- libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc b/libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc index 0520b637be5..7fbbcae2aa3 100644 --- a/libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc +++ b/libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc @@ -33,14 +33,12 @@ typedef std::codecvt c_codecvt; typedef std::codecvt w_codecvt; #endif -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 typedef std::codecvt u16_codecvt; typedef std::codecvt u32_codecvt; #ifdef _GLIBCXX_USE_CHAR8_T typedef std::codecvt u16u8_codecvt; typedef std::codecvt u32u8_codecvt; #endif -#endif class gnu_facet: public std::locale::facet { @@ -69,13 +67,11 @@ void test01() #ifdef _GLIBCXX_USE_WCHAR_T VERIFY( has_facet(loc13) ); #endif -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 VERIFY( has_facet(loc13) ); VERIFY( has_facet(loc13) ); #ifdef _GLIBCXX_USE_CHAR8_T VERIFY( has_facet(loc13) ); VERIFY( has_facet(loc13) ); -#endif #endif VERIFY( has_facet(loc13) ); } -- 2.40.1