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

--- 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:99309b98c2e80a42886da36668e1e8d3d082699e

commit r14-9365-g99309b98c2e80a42886da36668e1e8d3d082699e
Author: Gaius Mulley <gaiusm...@gmail.com>
Date:   Thu Mar 7 19:41:58 2024 +0000

    PR modula2/109969 Linking large project causes an ICE

    This patch contains a re-write of M2LexBuf.mod which removes the linked
    list of token buckets and simplifies the implementation using a dynamic
    array.  It contains more checking (for empty source files for example).
    The patch also contains a fix for an ICE in gcc/m2/gm2-gcc/builtins.cc

    gcc/m2/ChangeLog:

            PR modula2/109969
            * gm2-compiler/M2LexBuf.def (TokenToLineNo): Rename parameter.
            (TokenToColumnNo): Rename parameter.
            (TokenToLocation): Rename parameter.
            (FindFileNameFromToken): Rename parameter.
            (DumpTokens): Rewrite comment.
            * gm2-compiler/M2LexBuf.mod: Rewrite.
            * gm2-compiler/P0SyntaxCheck.bnf (CheckInsertCandidate):
            DumpTokens before and after inserting recovery token.
            * gm2-gcc/m2builtins.cc (do_target_support_exists): Add
            bf_c99_compl case.
            * gm2-libs/Indexing.def (InitIndexTuned): New procedure
            function.
            (IsEmpty): New procedure function.
            * gm2-libs/Indexing.mod (InitIndexTuned): New procedure
            function.
            (IsEmpty): New procedure function.
            (Index): New field GrowFactor.
            (PutIndice): Use GrowFactor to extend dynamic array.

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

Reply via email to