From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) by sourceware.org (Postfix) with ESMTPS id 622913857702 for ; Wed, 24 May 2023 05:50:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 622913857702 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-ot1-x331.google.com with SMTP id 46e09a7af769-6af93a6166fso318626a34.3 for ; Tue, 23 May 2023 22:50:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1684907425; x=1687499425; h=mime-version:user-agent:message-id:date:errors-to:organization :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=272io51ZXVKEMmAQmxBB+KTfbpDrRJgf0KuPTTKRb0A=; b=ZzAfQZ0xsI5YyR9ecVu3339uO6HxvvfKqaFUp9UDmDlgD+QZBi8psZyaT1t+EPFCXW jpH3i9T5J9lL4puX/nNSQxZtGTmqy9bBfYi3SIP9tCfu85oXPkbhw3Mq8I13/HcQaWsa BsF3qhs/kO8jPnFvu/YI9kT5M9tInfzTjZcD196jody5kJnXvFFvF/ziYWVm4zNHO2S3 XJQf1DLQLHNDFNAoGsjdiu4Hr+/BHt+2l8pu6m/GKWbhPLQ9MN0KRS+Q2KI02lPVazC1 ubfsIALc8Qw4hyKiAlaPrB8VS0/sGVFC7imkhjZ4RQE5HnwWwro4sQFqVjl9dFshGfsU GTxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684907425; x=1687499425; h=mime-version:user-agent:message-id:date:errors-to:organization :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=272io51ZXVKEMmAQmxBB+KTfbpDrRJgf0KuPTTKRb0A=; b=HZYl1jIS8KedvthQ3cTokhhuuzAsn0iGCn0oHj0laCmqtVHd0U+BlSYwx/c3MIZ+gO I0iQ13x66emiucYUYkuj/msThqSa0Uw6h1g0OTw/SHu2UKoDiTTcReoQAk6FLWPkS/YJ awqGpzMzdX6Jj42v+FBDZZwnwmk1Xpir8kOFjSgXkW7ReQGAQay/gfwEv9+gLlrhpfHt k7BFj+WBwPXxhPagezeFRZKk5LRcYdujms3YYozF/50jNLyzvz0EP97HW86K6jgHR8f5 6JjRLw3URNm5mOb/PTNN9Y1Ut14gkY8tsUcXsIN9mzEPbPsKVMtYiodTIN4GJL6Tcl2q SsoQ== X-Gm-Message-State: AC+VfDyih2JZFr6jEaqLs+yYKHiVEc/1CdstICACMcBHTD3KDsCHwE0E qjT4oefol9+0BCsRnKgSsEtiOHzYaqY4p0Dxpu0= X-Google-Smtp-Source: ACHHUZ5gGJToRAneThptJ5yGYQzEp+q332rXDWwdPbboVOdVnM2OgzGoIWLPTDhE0DAFkxbEKyxCzA== X-Received: by 2002:aca:1e19:0:b0:398:4ad8:5ce6 with SMTP id m25-20020aca1e19000000b003984ad85ce6mr334207oic.30.1684907425749; Tue, 23 May 2023 22:50:25 -0700 (PDT) Received: from free.home ([2804:7f1:2080:6383:46d9:ede8:ee97:8cc0]) by smtp.gmail.com with ESMTPSA id r83-20020acac156000000b00396324838e7sm4860871oif.10.2023.05.23.22.50.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 May 2023 22:50:25 -0700 (PDT) Received: from livre (livre.home [172.31.160.2]) by free.home (8.15.2/8.15.2) with ESMTPS id 34O5oHtO3582302 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 24 May 2023 02:50:17 -0300 From: Alexandre Oliva To: gcc-patches@gcc.gnu.org, libstdc++@gcc.gnu.org Subject: [PATCH] [libstdc++] [testsuite] xfail to_chars/long_double on x86-vxworks Organization: Free thinker, does not speak for AdaCore Errors-To: aoliva@lxoliva.fsfla.org Date: Wed, 24 May 2023 02:50:17 -0300 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.84 X-Spam-Status: No, score=-12.6 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 autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Just as on aarch64, x86's wider long double experiences loss of precision with from_chars implemented in terms of double. Expect the execution fail. Bootstrapped on x86_64-linux-gnu. Also tested on ppc- and x86-vx7r2 with gcc-12. for libstdc++-v3/ChangeLog * testsuite/20_util/to_chars/long_double.cc: Expect execution fail on x86-vxworks. --- .../testsuite/20_util/to_chars/long_double.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/testsuite/20_util/to_chars/long_double.cc b/libstdc++-v3/testsuite/20_util/to_chars/long_double.cc index 263144bd42cba..08363d9d04003 100644 --- a/libstdc++-v3/testsuite/20_util/to_chars/long_double.cc +++ b/libstdc++-v3/testsuite/20_util/to_chars/long_double.cc @@ -36,7 +36,7 @@ // On systems that use double-precision from_chars for long double, // this is expected to fail. -// { dg-xfail-run-if "from_chars limited to double-precision" { aarch64-*-vxworks* } } +// { dg-xfail-run-if "from_chars limited to double-precision" { aarch64-*-vxworks* i*86-*-vxworks* } } // { dg-require-effective-target ieee_floats } // { dg-require-effective-target size32plus } -- Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/ Free Software Activist GNU Toolchain Engineer Disinformation flourishes because many people care deeply about injustice but very few check the facts. Ask me about