From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 413EC391C68D; Thu, 8 Dec 2022 18:55:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 413EC391C68D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670525727; bh=7I0PlE/gorfEJbvIFHspuujTnNIcNfCINXB0qKcm1JA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=D1uVwbRKHFrUx/QxayquWvGE7IPOouB1jaLWVYelhQBaivAQvnK0a9Y7zMQpwtZdo Ue0IjwpYcEwgRjt7MR0IhgYYNGX1sbygHhORdLLDFWIy24kl64ZPXS2EORPX7Qx7Yl QhuWDC7j716OFqYCw9tekY9miLbWUt7qtHunN+x8= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107997] [13 Regression] r13-4389-gfd8dd6c0384969 probably uncovered an issue building the Linux kernel Date: Thu, 08 Dec 2022 18:55:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on everconfirmed bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107997 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-12-08 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #5 from Jakub Jelinek --- Cleaned up, just -Os is needed: int a, b; void bar (int); int baz (void); void * foo (int x, void *y) { asm goto ("" : : "r" (x || !a) : : l); l: if (y) return 0; bar (b ? b : x); while (x--) { if (!baz ()) baz (); asm goto ("" : : : : l2); l2: } return y; }=