From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A81E03858CDB; Wed, 1 Mar 2023 21:36:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A81E03858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677706609; bh=qXbi8DKW8MZ3fYPca8j7EHcrl2WJTYu35g+OGp1z2MI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CUUMyAMMxxbH/orkr/smxQYYAaDUDidLo1c1XTCUQpcGPesRb8aOb7W2FVqNszGA4 joW5m2wUlxz1Ee2b+1/NZ7gME4NwjRAy8FwXiVSmzaiGXyydNfgI4Aze7f5FCtX5Ru tv9kwcAJnhEJm5iuxxjjME2YqPZwMbJ7KW9hNh4Q= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/106856] [12/13 Regression][OOP] CLASS attribute handling / ICE in gfc_conv_expr_present, at fortran/trans-expr.cc:1977 since r12-4346-geb92cd57a1ebe7cd Date: Wed, 01 Mar 2023 21:36:48 +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: 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: 12.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D106856 --- Comment #4 from anlauf at gcc dot gnu.org --- Created attachment 54567 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54567&action=3Dedit Updated patch The original patches started to bit-rot, so here is an updated version. The current situation is as follows: - it fixes a couple of ice-on-valid, ice-on-invalid, rejects-valid cases, see below - testcase interface_41.f90 turns out to be actually valid Fortran and is now correctly accepted (-> testsuite needs adjustment) - testcase pr69398.f90 ICE's - as expected, see comment in new testcase class_75.f90. Shall we mark this one as XFAIL for the time being and reopen pr69398? - it appears that the following PRs are addressed or fixed with this patch: pr53951, pr101101, pr104229, pr107380 So applying the patch would be a big achievement over the current situation. @Thomas: do you think this path should/could be followed?=