aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorGaius Mulley <gaiusmod2@gmail.com>2023-01-20 23:39:35 +0000
committerGaius Mulley <gaiusmod2@gmail.com>2023-01-20 23:39:35 +0000
commit5c4122be854c135a1f66f2db68ec9cde6d5993dc (patch)
treeb6c3b98597b6314a7349e750d8817c570d4a50e0 /gcc/fortran
parent0c193cabe1d8f209359f3ccb8e74cf87b38fc4bc (diff)
downloadgcc-5c4122be854c135a1f66f2db68ec9cde6d5993dc.zip
gcc-5c4122be854c135a1f66f2db68ec9cde6d5993dc.tar.gz
gcc-5c4122be854c135a1f66f2db68ec9cde6d5993dc.tar.bz2
PR-108136 modula-2 meets cppcheck part 2
R-108136 modula-2 meets cppcheck part 2 This patch addresses the style warnings mentioned in the PR. The array high style fixes to mc/keyc.mod and gm2-libs/M2Dependent.mod provoke a rebuild of pge and mc. gcc/m2/ChangeLog: * gm2-libs/Args.mod (GetArg): Check index before accessing array. * gm2-libs/M2Dependent.mod (toCString): Check index before accessing array. * mc-boot/GArgs.c: Rebuilt. * mc-boot/GM2Dependent.c: Rebuilt. * mc-boot/Gkeyc.c: Rebuilt. * mc/keyc.mod (seenUIntMin): Initialize once. (seenUIntMax): Initialize once. (checkLimits): Only test seenUIntMin and seenUIntMax once. * pge-boot/GArgs.c: Rebuilt. * pge-boot/GM2Dependent.c: Rebuilt. Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions