From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7BE6E3858D33; Sat, 6 Apr 2024 10:05:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7BE6E3858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712397901; bh=AEqHiqKtcWHPsI3GCk1WlWwJHXUd4KPhxU2puCXzSs0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ChkaTDOxtSV1EMkRKTPh5aERkhgR9uupx+W/U34hQIQDmZkwfs/cjRyW3cuC5NuSM ZfDwD99jREtIchKJ2xBCHvRZsHuSGnC6B/mCG/lQgcNQwxSwmS3msJOx26ixCobMrK 4M0JDfMJGvCjX7UfCCApLUQM5k2XOTDH5yVAj2Wc= From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/113363] ICE on ASSOCIATE and unlimited polymorphic function Date: Sat, 06 Apr 2024 10:05:00 +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: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 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=3D113363 --- Comment #7 from Paul Thomas --- Created attachment 57892 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57892&action=3Dedit Fix for this PR The attachment has two fixes for the PR :-) The first chunk in trans-array.cc is an alternative to the direct, rather brutal chunk in trans-stmt.cc. The latter, though, isolates the fix to allo= cate statements. I am not entirely sure which is better. It needs some comments and a proper testcase. Cheers Paul=