From patchwork Thu Nov 24 09:37:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 25405 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3288464wrr; Thu, 24 Nov 2022 01:38:04 -0800 (PST) X-Google-Smtp-Source: AA0mqf40AyIdIwLJrrfuQWlmgUETrUh2gWntVdVOH9IPwXNHEzNMGGu8ewcWWhPBDPD7aS+0JDM0 X-Received: by 2002:a05:6402:1655:b0:46a:80cc:d5bd with SMTP id s21-20020a056402165500b0046a80ccd5bdmr2059787edx.210.1669282683930; Thu, 24 Nov 2022 01:38:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669282683; cv=none; d=google.com; s=arc-20160816; b=fZZNe2KI5zM/dU6HEpfW4X7Z6+TCwqEcr2ucEWdjVdu8iCSiaGaGYGWOFHVDCiqah1 Iu1a6e6NeGEpXIBslqHJvzGDVPmXUY1AV7e9IJem/Db0KyJWiTGDGI17jgaC2ukcOXE2 GjzkxEh0MfgryDSoNoUJmVk23fcjj+CX2t7PQgXnxzcfACSuRCiL7BC7l9pnhurmiwaA /KUI6bIVCyc+fnY0hxo3dkLjdYU2Cq+Z8XFJfdiAvm0b0gzmH9hx+aT40Joh+Xk0/7UQ Vw0HwV0szxz4o7yLU6Tfrrp047FoCzq+UQczu2yOh8mJvpbQl/gYAR/5WDcB4OCY4MlC Rp7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-disposition:in-reply-to:mime-version:references:message-id :subject:cc:to:date:dmarc-filter:delivered-to:dkim-signature :dkim-filter; bh=fTufgLXBUhMPhm9u1Cv0FBLpLCU643TmKtHX+3LPnWo=; b=agC3YRinhdw92D4vPnolPbGno0h0+E4t8w+ZJLhmTmW8gZNsIecPkihX/KzGeQ+x/V /k1tsOuqvRVk0cuPyJS1XghAHBScRt3Sah8V7DqXlR5lrSaiOIvB888f9lxbKkDOcrUZ S5zlpdCbdeyWHSeHNcuLIrk3QIpt9z32SLQL099fdRFe4MNcWj8Gr0FuN9vWAl8UJJ+8 6kWTu9VCfqRcnjH2ihRXsXnTmQb0STlEwuDGa+zOh8qwYcRlOPdHUJXHCUhA2Rl6sstN g/DPaxyMn6Sq5jM4UXkjq0i2FUpkxcm64pmQnsbYWJXxlUmWWbn4/JsKMB8s4yAkqjnz hqFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=p5cbx6cX; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id y12-20020a056402358c00b00458985e9d19si175424edc.632.2022.11.24.01.38.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Nov 2022 01:38:03 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=p5cbx6cX; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EA86538432F3 for ; Thu, 24 Nov 2022 09:38:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EA86538432F3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669282683; bh=fTufgLXBUhMPhm9u1Cv0FBLpLCU643TmKtHX+3LPnWo=; h=Date:To:Cc:Subject:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=p5cbx6cXglmiDaG0mGRgwyNg+zywHDsVWEPd6sbfxUpOLAfN5DBfzanfanjDSmI1k yKhHtGr7Yp5GgmT/4UHsYuDkCnM4kdKMtELApEGNghK7MrvDcmexbN97h+vskaf3gc Z0DeJISA+lHZIyvwyQutGEtE3kOxOnbYgf7OfrrI= 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 D4E4738518A6 for ; Thu, 24 Nov 2022 09:37:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D4E4738518A6 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-292-PE1ttZ41OoCDRXvziLMC4g-1; Thu, 24 Nov 2022 04:37:15 -0500 X-MC-Unique: PE1ttZ41OoCDRXvziLMC4g-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7C43129ABA39; Thu, 24 Nov 2022 09:37:15 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.194.202]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3D64540C6DC7; Thu, 24 Nov 2022 09:37:15 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 2AO9bAK5226926 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 24 Nov 2022 10:37:10 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 2AO9b9oA226925; Thu, 24 Nov 2022 10:37:09 +0100 Date: Thu, 24 Nov 2022 10:37:09 +0100 To: "haochen.jiang" Cc: gcc-patches@gcc.gnu.org Subject: [committed] testsuite: Fix up broken testcase [PR107127] Message-ID: References: <202211240137.2AO1bs8L789884@shliclel314.sh.intel.com> MIME-Version: 1.0 In-Reply-To: <202211240137.2AO1bs8L789884@shliclel314.sh.intel.com> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jakub Jelinek via Gcc-patches From: Jakub Jelinek Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750369759869085027?= X-GMAIL-MSGID: =?utf-8?q?1750369759869085027?= Hi! On Thu, Nov 24, 2022 at 09:37:54AM +0800, haochen.jiang wrote: > 8a0fce6a51915c29584427fd376b40073c328090 is the first bad commit > commit 8a0fce6a51915c29584427fd376b40073c328090 > Author: Jakub Jelinek > Date: Wed Nov 23 19:09:31 2022 +0100 > > c: Fix compile time hog in c_genericize [PR107127] > > caused > > FAIL: gcc.dg/pr107127.c (test for excess errors) Oops, sorry. I've added { dg-options "" } line manually in the patch but forgot to adjust the number of added lines. Tested on x86_64-linux, committed to trunk as obvious. 2022-11-24 Jakub Jelinek PR c/107127 * gcc.dg/pr107127.c (foo): Add missing closing }. Jakub --- gcc/testsuite/gcc.dg/pr107127.c.jj 2022-11-23 19:09:24.670333114 +0100 +++ gcc/testsuite/gcc.dg/pr107127.c 2022-11-24 10:31:48.208143681 +0100 @@ -10,3 +10,4 @@ foo (_Complex double a, double b, double return v[0] / ((((c * (0 - 0 / a + 699.0 + 7.05 - 286.0 - +-4.65 + 1.57 + 0) * 0.1 - 3.28 + 4.22 + 0.1)) * b + 5.06) * 1.23 * 8.0 * 12.0 * 16.0 * 2.0 * 2.0 * 0.25 * 0.125 * 18.2 * -15.25 * 0.0001 * 42.0 * 0.012 - 8.45 + 0 + 88.0 + 6.96 + 867.0 + 9.10 - 7.04 * -1.0); +}