aboutsummaryrefslogtreecommitdiff
path: root/gcc/m2/gm2-compiler/M2Students.def
diff options
context:
space:
mode:
authorGaius Mulley <gaiusmod2@gmail.com>2024-04-22 18:19:32 +0100
committerGaius Mulley <gaiusmod2@gmail.com>2024-04-22 18:19:32 +0100
commitb0469e35dbcc9a93a2cb50e3c0445edc3db174be (patch)
treec3d3688315f868e153558856f6fe51886a53275b /gcc/m2/gm2-compiler/M2Students.def
parentcf5f7791056b3ed993bc8024be767a86157514a9 (diff)
downloadgcc-b0469e35dbcc9a93a2cb50e3c0445edc3db174be.zip
gcc-b0469e35dbcc9a93a2cb50e3c0445edc3db174be.tar.gz
gcc-b0469e35dbcc9a93a2cb50e3c0445edc3db174be.tar.bz2
PR modula2/114807 badpointer3.mod causes an ICE
This patch fixes an ICE caused when a constant string is built and attempted to be passed into a procedure with an opaque type. gcc/m2/ChangeLog: PR modula2/114807 * gm2-compiler/M2Check.mod (checkUnbounded): Remove unused local variables. (constCheckMeta): Include check for IsReallyPointer in the failure case. * gm2-compiler/M2Quads.mod (MoveWithMode): Remove CopyConstString. * gm2-compiler/SymbolTable.def (IsHiddenReallyPointer): Export. * gm2-compiler/SymbolTable.mod (SkipHiddenType): Remove. (IsReallyPointer): Include IsHiddenReallyPointer test. gcc/testsuite/ChangeLog: PR modula2/114807 * gm2/pim/fail/badproctype.mod: Change MYSHORTREAL to SHORTREAL. * gm2/pim/fail/badprocbool.mod: New test. * gm2/pim/fail/badproccard.mod: New test. * gm2/pim/fail/badprocint.mod: New test. * gm2/pim/fail/badprocint2.mod: New test. * gm2/pim/pass/goodproccard2.mod: New test. * gm2/pim/pass/goodprocint.mod: New test. * gm2/pim/pass/goodprocint3.mod: New test. * gm2/pim/run/pass/genconststr.mod: New test. Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'gcc/m2/gm2-compiler/M2Students.def')
0 files changed, 0 insertions, 0 deletions