[Bug modula2/114548] gm2 fails to identify variable in a const expression

2024-04-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114548 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/114548] gm2 fails to identify variable in a const expression

2024-04-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114548 --- Comment #4 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:4bd2f59af4a78cdc80039cffa51c1d9ad91081a3 commit r14-9739-g4bd2f59af4a78cdc80039cffa51c1d9ad91081a3 Author: Gaius Mulley Date: Mon

[Bug modula2/114548] gm2 fails to identify variable in a const expression

2024-04-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114548 --- Comment #3 from Gaius Mulley --- Created attachment 57840 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57840&action=edit Proposed fix Here is a proposed patch (which fixes all the standard procedure function const/var parameter chec

[Bug modula2/114548] gm2 fails to identify variable in a const expression

2024-04-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114548 --- Comment #2 from Gaius Mulley --- This is true for many of the standard procedure functions.

[Bug modula2/114548] gm2 fails to identify variable in a const expression

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