commit | 08196f044015737b81a454864684e57fbfc5b1a9 | [log] [tgz] |
---|---|---|
author | Gaius Mulley <gaiusmod2@gmail.com> | Fri Aug 01 15:16:37 2025 +0100 |
committer | Gaius Mulley <gaiusmod2@gmail.com> | Fri Aug 01 15:16:37 2025 +0100 |
tree | 7100155716cfdffed7f7112256e7d5a97d8e34b3 | |
parent | db39ace3c1c6b7c222a46e4e5a20900262d1971d [diff] |
PR modula2/121354: ICE when attempting to fold HIGH from an unbounded array in a nested procedure The bug fix re-implements gcc/m2/gm2-compiler/M2GenGCC.mod:FoldHigh to ignore any attempt to constant fold HIGH if it has an unbounded array operand. gcc/m2/ChangeLog: PR modula2/121354 * gm2-compiler/M2GenGCC.mod (FoldHigh): Rewrite. (IsUnboundedArray): New procedure function. Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>