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

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
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 <[email protected]>:

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

commit r17-2830-gd2d281c2f81b58fb7298da4c40c4e8434c097b71
Author: James K. Lowden <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.