From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 00D293959C97; Wed, 16 Nov 2022 12:55:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 00D293959C97 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668603344; bh=Y5KsKh9y3S278eb7P+6QEi2zJ6QDkhwHF0bMd68zSW4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VXtMiFFXA7Nd8If4l/TBmMmp5PdjcvYbtva0yatHVzDxvuMRmFsOQfhEBYc4d4XVy WAPHBTFxBIxfpUL/ZiOFoLvZzpPU4V4n/nwtmnBO6cHZUnLDA2Ar99C8ydILEgdghp LCJotqpfy66dA1Ui9htuh/vjHklULwjruvDr0/5k= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/107679] [13 Regression] ICE in maybe_register_def, at tree-into-ssa.cc:1914 Date: Wed, 16 Nov 2022 12:55:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component assigned_to bug_status priority 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=3D107679 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Component|fortran |middle-end Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Status|NEW |ASSIGNED Priority|P4 |P3 --- Comment #3 from Richard Biener --- Kind-of, yes. Somehow 'z' got marked for renaming, probably because we rem= oved a TREE_ADDRESABLE flag. The SSA rewrite wants to replace [local count: 1073741824]: z =3D{v} {CLOBBER}; return; with an "uninitialized" def, but for PARM_DECLs the default def would be the actual parameter value. There's nothing wrong with clobbering 'z' I think, just the into-ssa code isn't prepared for this - the fix would be to create an anonymous default def in this case.=