aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.cc
diff options
context:
space:
mode:
authorGaius Mulley <gaiusmod2@gmail.com>2023-08-01 01:42:16 +0100
committerGaius Mulley <gaiusmod2@gmail.com>2023-08-01 01:42:16 +0100
commit8a47474f2cf48837d6adf4a1232a89fd398ca7fa (patch)
tree317ed728033c318f859a1a2b8e0bb7dd8815e1c6 /gcc/tree-cfg.cc
parenta2f31d79ad623de6809b3cf2055483525f1903ab (diff)
downloadgcc-8a47474f2cf48837d6adf4a1232a89fd398ca7fa.zip
gcc-8a47474f2cf48837d6adf4a1232a89fd398ca7fa.tar.gz
gcc-8a47474f2cf48837d6adf4a1232a89fd398ca7fa.tar.bz2
PR modula2/110865 Unable to access copied const array
This patch allows constants of an array type to be indexed. gcc/m2/ChangeLog: PR modula2/110865 * gm2-compiler/M2Quads.mod (BuildDesignatorArray): Rename t as type and d as dim. New variable result. Allow constants of an array type to be indexed. gcc/testsuite/ChangeLog: PR modula2/110865 * gm2/iso/pass/constvec.mod: New test. * gm2/iso/pass/constvec2.mod: New test. * gm2/iso/run/pass/constvec3.mod: New test. Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'gcc/tree-cfg.cc')
0 files changed, 0 insertions, 0 deletions