diff options
author | Gaius Mulley <gaiusmod2@gmail.com> | 2025-08-01 15:16:37 +0100 |
---|---|---|
committer | Gaius Mulley <gaiusmod2@gmail.com> | 2025-08-01 15:16:37 +0100 |
commit | 08196f044015737b81a454864684e57fbfc5b1a9 (patch) | |
tree | 7100155716cfdffed7f7112256e7d5a97d8e34b3 /libgo/runtime/go-string-to-byte-array.c | |
parent | db39ace3c1c6b7c222a46e4e5a20900262d1971d (diff) | |
download | gcc-08196f044015737b81a454864684e57fbfc5b1a9.zip gcc-08196f044015737b81a454864684e57fbfc5b1a9.tar.gz gcc-08196f044015737b81a454864684e57fbfc5b1a9.tar.bz2 |
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>
Diffstat (limited to 'libgo/runtime/go-string-to-byte-array.c')
0 files changed, 0 insertions, 0 deletions