From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669282639; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=fTufgLXBUhMPhm9u1Cv0FBLpLCU643TmKtHX+3LPnWo=; b=W9OppFMTk9Yzbc0nfV54tnyW4duw3jyAHdlTAVRe2q9KPSnxHN/YKE0nlus9Wakl+s7o+A C3KyD9r5IXjKOjGjT2JggPH+oG1Sku+EWkvfbZKjCGU6YS/dR+H6TgwD2z0UJRuwhyBTaV Qrph1MtWpCAZXPgSGV+jAMrwPx5hs7Y= 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 From: Jakub Jelinek To: "haochen.jiang" Cc: gcc-patches@gcc.gnu.org Subject: [committed] testsuite: Fix up broken testcase [PR107127] Message-ID: Reply-To: Jakub Jelinek 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-Type: text/plain; charset=us-ascii 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 List-Id: 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 }. --- 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); +} Jakub