[Bug modula2/119504] ICE when attempting to access an element of a constant string

2025-03-28 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119504 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/119504] ICE when attempting to access an element of a constant string

2025-03-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119504 --- Comment #4 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:b69945d511b394ef092c888c6475f8c72bee0c03 commit r15-9011-gb69945d511b394ef092c888c6475f8c72bee0c03 Author: Gaius Mulley Date: Fri

[Bug modula2/119504] ICE when attempting to access an element of a constant string

2025-03-28 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119504 --- Comment #3 from Gaius Mulley --- $ gm2 WriteOctHexCorrect.mod $ ./a.out 30071 $ cat WriteOctHexCorrect.mod MODULE WriteOctHexCorrect ; FROM STextIO IMPORT WriteChar, WriteLn; VAR Done : BOOLEAN; PROCEDURE WriteOctOrHex(

[Bug modula2/119504] ICE when attempting to access an element of a constant string

2025-03-28 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119504 --- Comment #2 from Gaius Mulley --- Created attachment 60908 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60908&action=edit Proposed fix which generates and error message and fixes HIGH of a constant string. $ gm2 WriteOctHex.mod Writ

[Bug modula2/119504] ICE when attempting to access an element of a constant string

2025-03-27 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119504 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0