From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A21403858D35; Tue, 26 Sep 2023 13:46:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A21403858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1695735992; bh=c3ynlZt5B8dsG5xlCORCEfVjXAe8WHnTR1z5/ZpkUsw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=IgzyG8Ojoz10FlhtSdtHiS82eTiPG0LiRqswSwT/+sFFVeDRMckyLoI3LcqVGiaFJ 8ZLHAlSzM07tvlv82C3pGs+7xM0BHLfi3LTqXn+z5oSaVDSdqTwMcefIt18agCTxrl 3qVvHYdNTDEqcNvPfEIBOIjuYg7PrQAb7a+hE81Y= From: "gaius at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/111510] Modula-2 runtime ICE on arm-linux-gnueabihf: iso/RTentity.mod:245:in findChildAndParent has caused internal runtime error, RTentity is either corrupt or the module storage has not been initialized yet Date: Tue, 26 Sep 2023 13:46:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: modula2 X-Bugzilla-Version: 13.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gaius at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gaius at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D111510 --- Comment #2 from Gaius Mulley --- Created attachment 55996 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D55996&action=3Dedit Proposed fix Here is a proposed fix - the bug was the lack of a nul terminated string - resulting in garbled init order of modules. This affects all targets and is present in gcc-13 and gcc-14. When (if) it bootstraps (on both gcc-14 and gcc-13) - I'll apply the patch. Thanks for the bug report!=