From patchwork Tue Mar 22 07:43:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 1608054 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=OqEG9Dkz; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from 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 RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KN3Qd5DmGz9s1l for ; Tue, 22 Mar 2022 18:44:08 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A3466385E836 for ; Tue, 22 Mar 2022 07:44:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3466385E836 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1647935045; bh=sKMKoEO6YOuaMax7MK0HI5K6Q7+mRlL15ygk5+5HTgw=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=OqEG9Dkzg/iCy3hSM8eCBomicZw1pa7vgVwszPoiqv0gx94JWixaP5vfaCshRKvKw BnI17A31afPXoj46M7mvugLcYy5FQCfl3/nDHuaLda3k9zszzAIsDX27GsluZtUAUz 6guU3qN89d0Rgi6uANaF95Fy5yG0hjgwoiNyyX0U= 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 8F60E3857823 for ; Tue, 22 Mar 2022 07:43:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8F60E3857823 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-14-EB5woqlTNFqJleUadKu_2w-1; Tue, 22 Mar 2022 03:43:23 -0400 X-MC-Unique: EB5woqlTNFqJleUadKu_2w-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5D5553C11C62; Tue, 22 Mar 2022 07:43:23 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.81]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1FB1A492D17; Tue, 22 Mar 2022 07:43:23 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.16.1/8.16.1) with ESMTPS id 22M7hK5N3266472 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 22 Mar 2022 08:43:20 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.16.1/8.16.1/Submit) id 22M7hJ1c3266471; Tue, 22 Mar 2022 08:43:19 +0100 Date: Tue, 22 Mar 2022 08:43:19 +0100 To: Richard Biener Subject: [committed] testsuite: Add testcase for no longer failing PR [PR102645] Message-ID: <20220322074319.GB2664@tucnak> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-4.5 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_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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 Cc: gcc-patches@gcc.gnu.org Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" Hi! This test started ICEing with r12-3876 but stopped with r12-5264. Committed to trunk as obvious. Can we close the PR (are the unroll-and-jam bugs if any are latent) tracked elsewhere? 2022-03-22 Jakub Jelinek PR tree-optimization/102645 * gcc.c-torture/compile/pr102645.c: New test. Jakub --- gcc/testsuite/gcc.c-torture/compile/pr102645.c.jj 2022-03-21 19:24:05.926091267 +0100 +++ gcc/testsuite/gcc.c-torture/compile/pr102645.c 2022-03-21 19:23:52.536275156 +0100 @@ -0,0 +1,18 @@ +/* PR tree-optimization/102645 */ + +volatile int a[1], d; +int b, c; + +int +main () +{ + if (b && c) + for (c = 0; c < 3; c++) + { + for (int e = 0; e < 6; e++) + for (int f = 0; f < 12; f++) + d && a[0]; + continue; + } + return 0; +}