From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0C8113858D20; Sat, 3 Dec 2022 17:36:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C8113858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670088968; bh=79NIauGzfShfcacvxmU9eKCoC/xKF2GlTH1OlZwuUsI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RCNVySHG4tIsgec8e33xScCEwSIZAOxxUH8IHvkSE9vboqS7B+CvC2Yhxqf/8+En+ 1oMQa1PrfYkLFsLbsIq1s7/pNDw7fbG1dOUFDRc/RBRAjA7vCybyJsFCNlqwyCug/X tvWKlaCHtBKxzgEPSGsfjRdonTZJ9pxWGJsORJNY= From: "gaius at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/107959] Incorrect aggregate constant type causes ICE Date: Sat, 03 Dec 2022 17:36:07 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gaius at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: 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=3D107959 --- Comment #1 from Gaius Mulley --- Now fixed in git. $ gm2 -fiso badipv4.mod=20 badipv4.mod:7:12: error: In procedure =E2=80=98ForeachIndiceInIndexDo=E2=80= =99: expecting CHAR datatype and not =E2=80=98127=E2=80=99 a =E2=80=98Modula-2 base Z=E2=80=99 = in the 0th component of the =E2=80=98IPV4=E2=80=99 array 7 | Loopback =3D IPV4 {127, 0, 0, 1} ; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ badipv4.mod:7:12: error: expecting CHAR datatype and not =E2=80=981=E2=80= =99 a =E2=80=98Modula-2 base Z=E2=80=99 in the 3rd component of the =E2=80=98IPV4=E2=80=99 array badipv4.mod:7:12: error: expecting CHAR datatype and not =E2=80=980=E2=80= =99 a =E2=80=98Modula-2 base Z=E2=80=99 in the 2nd component of the =E2=80=98IPV4=E2=80=99 array badipv4.mod:7:12: error: expecting CHAR datatype and not =E2=80=980=E2=80= =99 a =E2=80=98Modula-2 base Z=E2=80=99 in the 1st component of the =E2=80=98IPV4=E2=80=99 array=