[Bug cobol/126393] ICE: symbols_update: data item ... capacity rejected

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 30 15:41:40 GMT 2026


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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by James K. Lowden <jklowden@gcc.gnu.org>:

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

commit r17-2830-gd2d281c2f81b58fb7298da4c40c4e8434c097b71
Author: James K. Lowden <jklowden@cobolworx.com>
Date:   Thu Jul 30 11:20:08 2026 -0400

    cobol: Allow REDEFINES to have OCCURS at 01 level.

    Remove asserts in the parser that prevented compilation.  Codegen
unchanged.

    gcc/cobol/ChangeLog:

            PR cobol/126393
            * symbols.cc (symbol_redefines_root): Describe purpose in comment.
            (symbol_explicitly_redefines): Remove function.
            (symbols_update): Remove over-constrained validation.


More information about the Gcc-bugs mailing list