https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116771
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by David Malcolm <dmalc...@gcc.gnu.org>: https://gcc.gnu.org/g:2576dd68a60b3f317f89c8c007d0eea63151a793 commit r15-5928-g2576dd68a60b3f317f89c8c007d0eea63151a793 Author: David Malcolm <dmalc...@redhat.com> Date: Wed Dec 4 17:34:27 2024 -0500 c++: give suggestion on misspelled class name [PR116771] gcc/cp/ChangeLog: PR c++/116771 * parser.cc (cp_parser_name_lookup_error): Provide suggestions for the case of complete failure where there is no scope. gcc/testsuite/ChangeLog: PR c++/116771 * g++.dg/spellcheck-pr116771.C: New test. Signed-off-by: David Malcolm <dmalc...@redhat.com>