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

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

https://gcc.gnu.org/g:938ad303f9d52f26a48505903affa183c88bed84

commit r16-4494-g938ad303f9d52f26a48505903affa183c88bed84
Author: Gaius Mulley <[email protected]>
Date:   Sun Oct 19 18:48:18 2025 +0100

    PR modula2/122333: m2spellcheck.cc remove memset and tidyup

    This patch removes memset from m2spellcheck_InitCandidates.
    It corrects a comment boiler plate and removes an unused local
    variable.  Finally it frees up memory used by the candidates_array
    in KillCandidates.

    gcc/m2/ChangeLog:

            PR modula2/122333
            * gm2-compiler/M2MetaError.mod (JoinSentances): Remove
            unused variable.
            * gm2-gcc/m2spellcheck.cc (m2spellcheck_InitCandidates): Rewrite.
            (KillCandidates): Deallocate auto_vec candidates_array.
            (candidates_array_vec_t): New declaration.

    Signed-off-by: Gaius Mulley <[email protected]>

Reply via email to