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: 61065 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 44DDB38432E0 for ; Thu, 24 Nov 2022 09:37:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 44DDB38432E0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669282668; 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=HY9RwZUTLd9fFTl2ZVpmwlzZtx+yCj5QoXIrrW3KhFkwoaIQ72x2/1wra3/qXuWi9 0tWhh0f69wtQ8PStp+4hhieqs9gJkFlu9osrSLOLPvOPrl5780SkEnaWNzn0INagNt hPmaISmOAZkquV16DQbKPszRN2GwWAhiR/h1sjTo= 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+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" 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); +}