https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115003

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Gaius Mulley <ga...@gcc.gnu.org>:

https://gcc.gnu.org/g:bc5afdf14ccf8375f7fb3de2be1121aaf550f8aa

commit r15-349-gbc5afdf14ccf8375f7fb3de2be1121aaf550f8aa
Author: Gaius Mulley <gaiusm...@gmail.com>
Date:   Thu May 9 19:35:20 2024 +0100

    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 <gaiusm...@gmail.com>

Reply via email to