From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BD4263858D39; Thu, 29 Sep 2022 09:05:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD4263858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664442342; bh=NBBdAOKY91XGTFL/luQ1g27OXwYDbz3CGn/WXdKiYsM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qK4Hkpb9ovF75mAwtY66vgvk5/df51CnAjZHzb/zyajhOF6wmU/ha+Jqo11F91311 o04HybyZDKL4nZYYAK3WUv1bGlFHQXWTLcgNk+6DRlWWzPE/WSlaaH7ukARiSvDcSN NPMiLl98yCk/lBxZu8Zy6pBgOY1SWV1YDohwZ0kc= From: "mikael at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/107075] ICE in get, at cgraph.h:461 Date: Thu, 29 Sep 2022 09:05:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mikael 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D107075 Mikael Morin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikael at gcc dot gnu.org --- Comment #3 from Mikael Morin --- (In reply to anlauf from comment #1) >=20 > Uncommenting the 'save' also avoids the ICE, as does adding -fno-automati= c . ... as does adding an initializer to A. That's something I noticed just a few days ago: variables from main program without initializer don't get (implicitly) the SAVE attribute. (In reply to Richard Biener from comment #2) >=20 > But maybe 'z' shouldn't be of static storage duration ... No, I think it shouldn't. A should be static, and Z should not.=