diff options
author | Gaius Mulley <gaiusmod2@gmail.com> | 2024-11-18 16:34:42 +0000 |
---|---|---|
committer | Gaius Mulley <gaiusmod2@gmail.com> | 2024-11-18 16:34:42 +0000 |
commit | e37641458e9e1be1a81ff7fab4f4ab8398147d80 (patch) | |
tree | 63737d3938d59e5820d547ac2fe08646aa95491b /libitm | |
parent | 70999668a1305571d3b5fc57168fcb060a976418 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
This patch is a follow on from PR modula2/117371 which could include
a check to enforce the ISO restriction on a zero for loop step.
gcc/m2/ChangeLog:
PR modula2/117371
* gm2-compiler/M2GenGCC.mod (PerformLastForIterator):
Add check for zero step value and issue an error message.
gcc/testsuite/ChangeLog:
PR modula2/117371
* gm2/iso/fail/forloopbyzero.mod: New test.
Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'libitm')
0 files changed, 0 insertions, 0 deletions