https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127657
--- 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:4b5848cf526e24b21d9bef6f25fc9e6f56775a0a commit r17-4741-g4b5848cf526e24b21d9bef6f25fc9e6f56775a0a Author: Gaius Mulley <[email protected]> Date: Tue Sep 29 10:49:27 2026 +0100 PR modula2/127657: Intrinsic procedure functions should filter spelling hints based on context This patch adds context filtering to both parameters of the intrinsic procedure function VAL. It will filter the first on type and the second on constants, expressions and variables. gcc/m2/ChangeLog: PR modula2/127657 * gm2-compiler/M2Quads.mod (BuildValFunction): Add filtering spell check for unknown symbols. gcc/testsuite/ChangeLog: PR modula2/127657 * gm2.dg/spell/iso/fail/valspell.mod: New test. * gm2.dg/spell/iso/fail/valspell2.mod: New test. * gm2.dg/spell/iso/fail/valspell3.mod: New test. Signed-off-by: Gaius Mulley <[email protected]>
