From patchwork Fri Aug 9 01:43:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joern Wolfgang Rennecke X-Patchwork-Id: 1970773 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="key not found in DNS" header.d=riscy-ip.com header.i=@riscy-ip.com header.a=rsa-sha256 header.s=default header.b=E0EFqcOM; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; 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 [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 4Wg6Cf5PmHz1ybS for ; Fri, 9 Aug 2024 11:44:29 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3D5643858428 for ; Fri, 9 Aug 2024 01:44:27 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from omta34.uswest2.a.cloudfilter.net (omta34.uswest2.a.cloudfilter.net [35.89.44.33]) by sourceware.org (Postfix) with ESMTPS id D49483858D20 for ; Fri, 9 Aug 2024 01:44:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D49483858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=riscy-ip.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=riscy-ip.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D49483858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.33 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723167846; cv=none; b=t2wnkmFHljM3Z6Jo6Ae4efLXgegGlt0saJYy1FlE6AitR1d1cr6LhkYIm7Pl+3lcXalJe8QNEnAEJKjaig3URAtVVu8EmREOng/h2Uf5XWH1ywQUmb0X++2lIj5ZPPrXuINH0/nXECiBLmH/2vt3JKi+ncCgfK+sBtxxKYBdtjE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723167846; c=relaxed/simple; bh=/vU/S037zWaMo3KGjYX2Och4ubfl1ps+ZBETlo3ChyQ=; h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject; b=s4phP5fnwzGAubEEzPip4e6S3DuWLOo2Lj78I8mVaEnMq+nC8ENXyv57kXBG6E87b5ELxuiuisdl57ZcYUlXymCKqjTyDOXsjaNjrt0+3Or8bnHeWFsxipQzriv2sKq6GwDamrkX+z4lPSOKAjRhxn2uxioOOadOZND1IVp/x4A= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5008a.ext.cloudfilter.net ([10.0.29.246]) by cmsmtp with ESMTPS id ba7ksEptnVpzpcEfhsqV7G; Fri, 09 Aug 2024 01:44:01 +0000 Received: from just2023.justhost.com ([173.254.28.231]) by cmsmtp with ESMTPS id cEfgsZycLRdDPcEfgscqtO; Fri, 09 Aug 2024 01:44:00 +0000 X-Authority-Analysis: v=2.4 cv=YuoJRZYX c=1 sm=1 tr=0 ts=66b57460 a=YASUF7UNcoqeS7t9RS8wjw==:117 a=YASUF7UNcoqeS7t9RS8wjw==:17 a=yoJbH4e0A30A:10 a=r77TgQKjGQsHNAKrUKIA:9 a=0P3mKHjzjGQLAlt0OyYA:9 a=QEXdDO2ut3YA:10 a=5bgceILEAAAA:8 a=O6ryEQnDVWAKtJsZCOkA:9 a=m-Z_27IZkzAA:10 a=bA5y-8BQ6xV_CXoMkqSI:22 a=7z3vdgOOfqBDWbZOyawU:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=riscy-ip.com; s=default; h=Subject:From:To:MIME-Version:Date:Message-ID: Content-Type:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=tfYqB9v4JZMqCAi8J/MlP0ljPzbVZMuH6SmlZn6/lqA=; b=E0EFqcOMxWr5aUd3uHSSgX+xVh /pJMKJIwiReTVipLegGJqKtAVTxf3jHvyYzhKk0ffO8TikXAcILGhv88PlR1F8MRhC6ds7gtdaDT4 9r2GavqYy0LqSBPI0XnRCfcKwBKWuKA+jld3vbfbaYYupexzhUi4FndYuRBk1+4Z6IILedXpnv2EV T+cLlxvB/9STvfavXJ0AY2aQPD3IGpQn66WW6kZQU+Sf0t3EDaYEf4+przOfuMaoy0fBsDf8ct3cS WixQCNgpFJal0RdD0ecUNwsdfKZaJd0/e2rUahc7HVzDQAwBgw457DdS0kIQxwSU8aJOA4lB0dVgN fzw5Fzkw==; Received: from cust213-dsl91-135-11.idnet.net ([91.135.11.213]:43250 helo=[192.168.1.137]) by just2023.justhost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1scEff-001J3X-2u for gcc-patches@gcc.gnu.org; Thu, 08 Aug 2024 19:44:00 -0600 Message-ID: <93354256-25b2-4946-bb9b-f0af54610905@riscy-ip.com> Date: Fri, 9 Aug 2024 02:43:57 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-MW To: GCC Patches From: Joern Wolfgang Rennecke Subject: [PATCH] Reduce time/year_month_day/[34].cc timeouts. X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - just2023.justhost.com X-AntiAbuse: Original Domain - gcc.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - riscy-ip.com X-BWhitelist: no X-Source-IP: 91.135.11.213 X-Source-L: No X-Exim-ID: 1scEff-001J3X-2u X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: cust213-dsl91-135-11.idnet.net ([192.168.1.137]) [91.135.11.213]:43250 X-Source-Auth: joern.rennecke@riscy-ip.com X-Email-Count: 2 X-Org: HG=bhshared_jh;ORG=bluehost; X-Source-Cap: cmlzY3lpcGM7cmlzY3lpcGM7anVzdDIwMjMuanVzdGhvc3QuY29t X-Local-Domain: yes X-CMAE-Envelope: MS4xfHEP0PwCmYH4mmMcffiacbKEUkbQpsz78y6ia9yEQwBNLErKj23IQE6WRh0aLA1QB7FynzTAofSvX6quF8TTWCw/pT3tQHXO3IH+WYRXGRHnq5GQJdd4 cl1flvEDsjNb2wKCOPhXMiqjXJFccCRwI2zWJb7e9J3Tcbn0b25T+3YI7KbolqOtfHwSs8/n64EbFE2C9X4paESadaySDQdTv1bsGNJtAZGounj/BOG1jtEZ X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00, DKIM_INVALID, DKIM_SIGNED, JMQ_SPF_NEUTRAL, KAM_ASCII_DIVIDERS, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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 Just simulating a 32 bit CPU, these test take about a minute, and simulating a 16 bit target with size-optimized multi-word divide / modulus functions, it takes way too long, so I made the tests not run on targets without int32plus unless run_expensive_test is true. Even for a simulated 32 bit target, depending on what machine the test ends up running on and what the other tests were doing, std/time/year_month_day/3.cc occaisonally timed out, so I bumped up the timeout factor a bit. Reduce time/year_month_day/[34].cc timeouts. 2024-08-09 Joern Rennecke libstdc++-v3/ * testsuite/std/time/year_month_day/4.cc: [!int32plus]: Require run_expensive_tests. * testsuite/std/time/year_month_day/3.cc: Likewise. Add // { dg-timeout-factor 1.5 } Index: std/time/year_month_day/3.cc =================================================================== --- std/time/year_month_day/3.cc (revision 6614) +++ std/time/year_month_day/3.cc (working copy) @@ -1,4 +1,7 @@ // { dg-do run { target c++20 } } +// Technically, 16 bit targets can run the test, but it takes too long. +// { dg-require-effective-target run_expensive_tests { target { ! int32plus } } } +// { dg-timeout-factor 1.5 } // Copyright (C) 2021-2024 Free Software Foundation, Inc. // Index: std/time/year_month_day/4.cc =================================================================== --- std/time/year_month_day/4.cc (revision 6614) +++ std/time/year_month_day/4.cc (working copy) @@ -1,4 +1,6 @@ // { dg-do run { target c++20 } } +// Technically, 16 bit targets can run the test, but it takes too long. +// { dg-require-effective-target run_expensive_tests { target { ! int32plus } } } // Copyright (C) 2021-2024 Free Software Foundation, Inc. //