aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorGaius Mulley <gaiusmod2@gmail.com>2025-03-02 19:04:37 +0000
committerGaius Mulley <gaiusmod2@gmail.com>2025-03-02 19:04:37 +0000
commit585aa4065f1028c2fbfab55462e5e5e6b3c208c4 (patch)
tree4d079baab86b47e9ff70464e9d13c4a18f1a7df0 /gcc/fortran
parent43a9022aa0fa2fbe66bebd51e6e73759501c04cb (diff)
downloadgcc-585aa4065f1028c2fbfab55462e5e5e6b3c208c4.zip
gcc-585aa4065f1028c2fbfab55462e5e5e6b3c208c4.tar.gz
gcc-585aa4065f1028c2fbfab55462e5e5e6b3c208c4.tar.bz2
PR modula2/119088 ICE when for loop accesses an unknown variable as the iterator
This patch fixes an ICE which occurs when a FOR statement attempts to use an undeclared variable as its iterator. gcc/m2/ChangeLog: PR modula2/119088 * gm2-compiler/M2SymInit.mod (ConfigSymInit): Reimplement to defensively check for NulSym type. gcc/testsuite/ChangeLog: PR modula2/119088 * gm2/pim/fail/tinyfor4.mod: New test. Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions