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

--- Comment #4 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:d2029bbc69df7341775faf6cf1aa13d978c223a1

commit r14-9520-gd2029bbc69df7341775faf6cf1aa13d978c223a1
Author: Gaius Mulley <gaiusm...@gmail.com>
Date:   Mon Mar 18 16:40:35 2024 +0000

    PR modula2/114380 Incorrect type specified in an error message

    This patch corrects an error message relating to a variable of
    a SET type. The bugfix is not to skip over set types (in
    GetLowestType).

    gcc/m2/ChangeLog:

            PR modula2/114380
            * gm2-compiler/SymbolTable.mod (GetLowestType): Do not
            skip over a set type, but return sym.

    gcc/testsuite/ChangeLog:

            PR modula2/114380
            * gm2/pim/fail/badset7.mod: New test.

    Signed-off-by: Gaius Mulley <gaiusm...@gmail.com>

Reply via email to