From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1CE903858C62; Thu, 9 Feb 2023 15:23:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1CE903858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675956214; bh=9DMvxy+YeiBdtuW4QKTl5Zuqsn/H8pLjRdjI1iPLp6Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rmXx5VFE5YAd1+E9TdNEITjh3uguI5GM5YsLKD9QxMpxEPVDvpvr5/rd4+5Y7yO3n 9dYuLbFxir6S2rv+roux4Bu1P68Kyx24GbXFNqv2yjQ1poKybjPDDRgI+w+YNQPScV bRzKYiOzsgKvt5zy9vYE/xvg/LMLbsc0wPEKY7jk= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108684] [12/13 Regression] ICE: verify_ssa failed Date: Thu, 09 Feb 2023 15:23:33 +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, inline-asm, patch, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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=3D108684 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code --- Comment #12 from Andrew Pinski --- Here is a testcase which shows the wrong code which was mentioned during the review: ``` static int t; int f (int *a) { int t1, t2 =3D 0; asm ("shouldshowupstill %1" : "=3Dr" (t1), "=3Dm"(t2) : : ); t =3D t1; return t2; } ```=