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

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by James K. Lowden <[email protected]>:

https://gcc.gnu.org/g:3d8093d7cb7acb98288657ae34a9c99f8fd5a14c

commit r17-2279-g3d8093d7cb7acb98288657ae34a9c99f8fd5a14c
Author: James K. Lowden <[email protected]>
Date:   Thu Jul 9 10:42:42 2026 -0400

    cobol: prevent invalid TYPE reference, and define YYLOCATION_PRINT

    gcc/cobol/ChangeLog:

            PR cobol/126105
            * parse.y: Remove unnecessary test and improve diagnostic message.
            * parse_ante.h (yylocation_print): New function.
            (YYLOCATION_PRINT): Define, because user-defined cbl_loc_t
location.
            * symbols.cc (symbol_typedef): Exclude current field from type
search.
            * symbols.h (symbol_typedef): Delete unused overload.

Reply via email to