aboutsummaryrefslogtreecommitdiff
path: root/libitm
diff options
context:
space:
mode:
authorGaius Mulley <gaiusmod2@gmail.com>2024-11-18 16:34:42 +0000
committerGaius Mulley <gaiusmod2@gmail.com>2024-11-18 16:34:42 +0000
commite37641458e9e1be1a81ff7fab4f4ab8398147d80 (patch)
tree63737d3938d59e5820d547ac2fe08646aa95491b /libitm
parent70999668a1305571d3b5fc57168fcb060a976418 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
PR modula2/117371: Add check for zero step in for loopHEADtrunkmaster
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