aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.cc
diff options
context:
space:
mode:
authorGaius Mulley <gaiusmod2@gmail.com>2024-05-09 19:35:20 +0100
committerGaius Mulley <gaiusmod2@gmail.com>2024-05-09 19:35:20 +0100
commitbc5afdf14ccf8375f7fb3de2be1121aaf550f8aa (patch)
tree9f4db288470666c9f7bcf5485a0c9547bca9e738 /gcc/value-range.cc
parent46bafd9a6b9b776142e0b1424a6ac02e3a2fd300 (diff)
downloadgcc-bc5afdf14ccf8375f7fb3de2be1121aaf550f8aa.zip
gcc-bc5afdf14ccf8375f7fb3de2be1121aaf550f8aa.tar.gz
gcc-bc5afdf14ccf8375f7fb3de2be1121aaf550f8aa.tar.bz2
PR modula2/115003 exporting a symbol to outer scope with a name clash causes ICE
An ICE will occur if an unknown symbol is exported and causes a name clash. The error mechanism attempts to find the scope of an unknown symbol. This patch adds a missing case clause to GetScope and returns NulSym if the scope is an unknown symbol. gcc/m2/ChangeLog: PR modula2/115003 * gm2-compiler/SymbolTable.mod (GetScope): Add UndefinedSym case clause and return NulSym. Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'gcc/value-range.cc')
0 files changed, 0 insertions, 0 deletions