https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127657
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-16 branch has been updated by Gaius Mulley <[email protected]>: https://gcc.gnu.org/g:b4315752b59233f15855b0c5e16014ff76e14ef8 commit r16-9957-gb4315752b59233f15855b0c5e16014ff76e14ef8 Author: Gaius Mulley <[email protected]> Date: Fri Nov 13 21:39:57 2026 +0000 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. (cherry picked from commit 4b5848cf526e24b21d9bef6f25fc9e6f56775a0a) Signed-off-by: Gaius Mulley <[email protected]>
