From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F0F85385843D; Wed, 16 Feb 2022 20:32:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F0F85385843D From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/104573] ICE in resolve_structure_cons, at fortran/resolve.cc:1299 Date: Wed, 16 Feb 2022 20:32:25 +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: 12.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2022 20:32:26 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104573 --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to Steve Kargl from comment #3) > I'm not sure. I don't use CLASSes, so only know a bit > about them. If I check F18:7.5.6, I find >=20 > C786 (R753) A final-subroutine-name shall be the name of a moduler > procedure with exactly one dummy argument. That argument shall > be nonoptional and shall be a noncoarray, nonpointer, nonallocatable, > *** nonpolymorphic *** > variable of the derived type being defined. All length type > parameters of the dummy argument shall be assumed. The dummy > argument shall not have the INTENT (OUT) or VALUE attribute. Steve, there's no finalization referred to in this PR. Can you please recheck?=