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

--- Comment #5 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:617110ddabd97730cbc59b39d21d3e3ab8381a46

commit r16-4615-g617110ddabd97730cbc59b39d21d3e3ab8381a46
Author: Gaius Mulley <[email protected]>
Date:   Fri Oct 24 21:51:36 2025 +0100

    PR modula2/122407: Followup to spell check remaining intrinsics

    This followup patch ensures that any unknown symbol spell check
    error in the instrinsics uses the parameter token rather than the
    procedure name token.  In turn this allows the filter module to
    detect and remove multiple unknowns at the same token.
    The patch also adds spell checking to the instrinsic parameters.

    gcc/m2/ChangeLog:

            PR modula2/122407
            * gm2-compiler/FilterError.def (Copyright): Use correct
            licence.
            * gm2-compiler/FilterError.mod (Copyright): Ditto.
            * gm2-compiler/M2Quads.mod (BuildNewProcedure): Rewrite.
            (BuildIncProcedure): Ditto.
            (BuildDecProcedure): Ditto.
            (BuildInclProcedure): Ditto.
            (BuildExclProcedure): Ditto.
            (BuildAbsFunction): Ditto.
            (BuildCapFunction): Ditto.
            (BuildChrFunction): Ditto.
            (BuildOrdFunction): Ditto.
            (BuildIntFunction): Ditto.
            (BuildMinFunction): Ditto.
            (BuildMaxFunction): Ditto.
            (BuildTruncFunction): Ditto.
            (BuildTBitSizeFunction): Ditto.
            (BuildTSizeFunction): Ditto.
            (BuildSizeFunction): Ditto.

    gcc/testsuite/ChangeLog:

            PR modula2/122407
            * gm2.dg/spell/iso/fail/badspellabs.mod: New test.
            * gm2.dg/spell/iso/fail/badspelladr.mod: New test.
            * gm2.dg/spell/iso/fail/badspellcap.mod: New test.
            * gm2.dg/spell/iso/fail/badspellchr.mod: New test.
            * gm2.dg/spell/iso/fail/badspellchr2.mod: New test.
            * gm2.dg/spell/iso/fail/badspelldec.mod: New test.
            * gm2.dg/spell/iso/fail/badspellexcl.mod: New test.
            * gm2.dg/spell/iso/fail/badspellinc.mod: New test.
            * gm2.dg/spell/iso/fail/badspellincl.mod: New test.
            * gm2.dg/spell/iso/fail/badspellnew.mod: New test.
            * gm2.dg/spell/iso/fail/badspellsize.mod: New test.
            * gm2.dg/spell/iso/fail/dg-spell-iso-fail.exp: New test.

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

Reply via email to