From patchwork Wed Jun 12 01:14:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Oliva X-Patchwork-Id: 1946593 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=XAwbHx1Q; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VzSJz38mxz20Pb for ; Wed, 12 Jun 2024 11:15:28 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 747B23858D39 for ; Wed, 12 Jun 2024 01:15:26 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by sourceware.org (Postfix) with ESMTPS id EC70E3858D39 for ; Wed, 12 Jun 2024 01:14:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EC70E3858D39 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EC70E3858D39 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::52b ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718154871; cv=none; b=fIg7lfLp9Re+yt2dlowMamz7Wlh/7MFUWYhZZFkOlBiOKRuKdyFTkCXGFOzzsNDZch/j73w3lU+8ToXwX1N/WbHbWRJg/61+IrGlZQGPAYtIGnJeedjZQUKtMVN9xLSnay/p1TPU4sio6R0VllvsYjPs8ByhJSkh15vYzHSeOtc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718154871; c=relaxed/simple; bh=gqWcdx6VlzpUoNoy9BkUaKpi1IL3FXQCLLbicapytrc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=d2tJzbJofYA/OcsYPXegE/NLYPwFRy+ikjTYwJJEexuTqwVQ8bh2MhWc0altvzftzhyZ0KJ7JiPAZaXGi/Z5urXDH2ZyJncLme08tQ7gI8yCTRxk6yhvhQuHhnGBSBPv5+TQpW5VOiO+MQYGwK/tidtGfWIFxg5dedU+OY8b6AQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x52b.google.com with SMTP id 41be03b00d2f7-6570bd6c3d7so3778899a12.0 for ; Tue, 11 Jun 2024 18:14:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1718154868; x=1718759668; darn=gcc.gnu.org; h=mime-version:user-agent:message-id:date:organization:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=rYlqqOHannTLdENr30Ebod1XVMNm5MymFejeqrfsOTU=; b=XAwbHx1QgpFTRGma2s5ADVaSWG/UpnrDqx8TONuNgujhQGGpLQLzKHzBLMVcA4oSVR 1uMGGh5rj2HVUif5Jqv8vl3TYPiyUIjSZV+Y2H97dzslLV+xqAck8pIqyCK09ziTeqDZ jErBkc9CFx/KnO0Bm3plaenwiYAH4OPZBrpN9wxN7h0tSjPZfZ8MeoQsdpIppWdJPRQX MeftYF/n0LgoxtJNovC5scI8VgRbmSiYib5ZaZs9KMMikYwO4KUaMaH91Ee7jOyICE50 Ffk41pibgmtWTwtI73m1Qux4oP7UHJQpFYHo5jpmPhnixF2v2ESLtdfdOuCWvUZHVeHK UJKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718154868; x=1718759668; h=mime-version:user-agent:message-id:date:organization:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rYlqqOHannTLdENr30Ebod1XVMNm5MymFejeqrfsOTU=; b=j5SF8U57X72KY+7JO/RJaZhxAN04AfuWhgL75AdlbshBB3R607MjCcQoKkZddhOfDy A4jGKgPpxAukwdf9tmEVPXexbI7oWRRVoszWNA0mZfc0ZQkikSHWxQniZLD6L4ryeUmT YBKW2ajGM0t6zwUaa65/HIJxWR+YtXUCakvT0D9rbCuMXt2Rnc1NuZUTysaoYiv9yW5E x3zGsxKq4pdqcBx8T/L/gtIjvLWYjIe1YydymEVBDDey9svah7X8K9j/ekbkdJKilgzj +Pn5xR3a12MQJFmsrAxnZJMIamwr12EWQv3qS2vMtW6vlPa/vCKBHQSA8m2ymGo81zZo cSjw== X-Gm-Message-State: AOJu0YzqnFQD7loEdM1Mm1boxvruHTYtlisbdxFNZrt01+MVRthxWL/j Mzok/Yu9lNaRjDvjPmHO1vzJG11URDLG0wDWZU2VPnPk0vUbE0iTpOVT8xTyo86U7KcJHFZ/3ws = X-Google-Smtp-Source: AGHT+IErVemHN45X9WMIr8zfiXuUmJ7JaLrFxlbgBDRm64MUpOc7nIa3SUecFPYCUpWrVeQfjuNsVw== X-Received: by 2002:a17:902:da81:b0:1f7:111c:2d3a with SMTP id d9443c01a7336-1f83b7216a6mr4698285ad.65.1718154867532; Tue, 11 Jun 2024 18:14:27 -0700 (PDT) Received: from free.home ([2804:7f1:218b:1961:ef8:d680:5399:8b1a]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f6bd7f309csm107789735ad.263.2024.06.11.18.14.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 18:14:27 -0700 (PDT) Received: from livre (livre.home [172.31.160.2]) by free.home (8.15.2/8.15.2) with ESMTPS id 45C1EEDR1124305 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 11 Jun 2024 22:14:14 -0300 From: Alexandre Oliva To: gcc-patches@gcc.gnu.org, libstdc++@gcc.gnu.org Subject: [PATCH] [libstdc++] [testsuite] xfail double-prec from_chars for float128_t Organization: Free thinker, does not speak for AdaCore Date: Tue, 11 Jun 2024 22:14:14 -0300 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, WEIRD_QUOTING autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Tests involving float128_t were xfailed or otherwise worked around for vxworks on aarch64. The same issue came up on rtems. This patch adjusts them similarly. Regstrapping on x86_64-linux-gnu. Also tested with gcc-13 on aarch64-rtems6. Ok to install? (I'd have expected the fast_float limitation to come up with aarch64-elf and any other aarch64 targets, but since I haven't observed it there, I'm avoiding aarch64-*-*.) for libstdc++-v3/ChangeLog * testsuite/20_util/from_chars/8.cc: Skip float128_t testing on aarch64-rtems*. * testsuite/20_util/to_chars/float128_c++23.cc: Xfail run on aarch64-rtems*. --- libstdc++-v3/testsuite/20_util/from_chars/8.cc | 2 +- .../testsuite/20_util/to_chars/float128_c++23.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/testsuite/20_util/from_chars/8.cc b/libstdc++-v3/testsuite/20_util/from_chars/8.cc index a6343422c5a91..bacad89943b5f 100644 --- a/libstdc++-v3/testsuite/20_util/from_chars/8.cc +++ b/libstdc++-v3/testsuite/20_util/from_chars/8.cc @@ -17,7 +17,7 @@ // { dg-do run { target c++23 } } // { dg-add-options ieee } -// { dg-additional-options "-DSKIP_LONG_DOUBLE" { target aarch64-*-vxworks* } } +// { dg-additional-options "-DSKIP_LONG_DOUBLE" { target aarch64-*-vxworks* aarch64-*-rtems* } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/to_chars/float128_c++23.cc b/libstdc++-v3/testsuite/20_util/to_chars/float128_c++23.cc index ca00761ee7c98..6cb9cadcd2041 100644 --- a/libstdc++-v3/testsuite/20_util/to_chars/float128_c++23.cc +++ b/libstdc++-v3/testsuite/20_util/to_chars/float128_c++23.cc @@ -19,7 +19,7 @@ // { dg-require-effective-target ieee_floats } // { dg-require-effective-target size32plus } // { dg-add-options ieee } -// { dg-xfail-run-if "from_chars limited to double-precision" { aarch64-*-vxworks* } } +// { dg-xfail-run-if "from_chars limited to double-precision" { aarch64-*-vxworks* aarch64-*-rtems* } } #include #include