PR modula2/112921 missing modules shortreal shortstr shortconv convstringshort
commit33a3f85ee4b5bc562a84c6896294278e0a5ab160
authorGaius Mulley <gaiusmod2@gmail.com>
Wed, 13 Dec 2023 17:35:02 +0000 (13 17:35 +0000)
committerGaius Mulley <gaiusmod2@gmail.com>
Wed, 13 Dec 2023 17:35:02 +0000 (13 17:35 +0000)
treeddef3e0fba0eb60905c5f0ccb1caed7747d8beb6
parent90bc2d09b5bfcc913f79543c3b65202e7246e162
PR modula2/112921 missing modules shortreal shortstr shortconv convstringshort

For completeness here are three SHORTREAL modules which match their
LONGREAL and REAL counterparts.  The datatype SHORTREAL is a GNU
extension and these modules were missing.

gcc/m2/ChangeLog:

PR modula2/112921
* gm2-libs-iso/ConvStringShort.def: New file.
* gm2-libs-iso/ConvStringShort.mod: New file.
* gm2-libs-iso/ShortConv.def: New file.
* gm2-libs-iso/ShortConv.mod: New file.
* gm2-libs-iso/ShortMath.def: New file.
* gm2-libs-iso/ShortMath.mod: New file.
* gm2-libs-iso/ShortStr.def: New file.
* gm2-libs-iso/ShortStr.mod: New file.

libgm2/ChangeLog:

PR modula2/112921
* libm2iso/Makefile.am (M2DEFS): Add ConvStringShort.def,
ShortConv.def, ShortMath.def and ShortStr.def.
(M2MODS): Add ConvStringShort.mod,
ShortConv.mod, ShortMath.mod and ShortStr.mod.
* libm2iso/Makefile.in: Regenerate.

gcc/testsuite/ChangeLog:

PR modula2/112921
* gm2/iso/run/pass/shorttest.mod: New test.

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
gcc/m2/gm2-libs-iso/ConvStringShort.def [new file with mode: 0644]
gcc/m2/gm2-libs-iso/ConvStringShort.mod [new file with mode: 0644]
gcc/m2/gm2-libs-iso/ShortConv.def [new file with mode: 0644]
gcc/m2/gm2-libs-iso/ShortConv.mod [new file with mode: 0644]
gcc/m2/gm2-libs-iso/ShortMath.def [new file with mode: 0644]
gcc/m2/gm2-libs-iso/ShortMath.mod [new file with mode: 0644]
gcc/m2/gm2-libs-iso/ShortStr.def [new file with mode: 0644]
gcc/m2/gm2-libs-iso/ShortStr.mod [new file with mode: 0644]
gcc/testsuite/gm2/iso/run/pass/shorttest.mod [new file with mode: 0644]
libgm2/libm2iso/Makefile.am
libgm2/libm2iso/Makefile.in