aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorGaius Mulley <gaiusmod2@gmail.com>2024-03-21 18:30:23 +0000
committerGaius Mulley <gaiusmod2@gmail.com>2024-03-21 18:30:23 +0000
commitba744d50ac0360f7992a42494db766f6548913e3 (patch)
tree276e5c526a90bb02c9e80ad86fffbf85a99959f7 /libgcc
parent509352069d6f166d396f4b4a86e71ea521f2ca78 (diff)
downloadgcc-ba744d50ac0360f7992a42494db766f6548913e3.zip
gcc-ba744d50ac0360f7992a42494db766f6548913e3.tar.gz
gcc-ba744d50ac0360f7992a42494db766f6548913e3.tar.bz2
PR modula2/114418 missing import of TSIZE from system causes ICE
This patch detects whether the symbol func is NulSym before generating an error and if so just uses the token location and fixed string to generate an error message. gcc/m2/ChangeLog: PR modula2/114418 * gm2-compiler/PCSymBuild.mod (PushConstFunctionType): Check func against NulSym and issue an error. gcc/testsuite/ChangeLog: PR modula2/114418 * gm2/pim/fail/missingtsize.mod: New test. * gm2/pim/fail/missingtsize2.mod: New test. Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions