[Bug c++/89390] [9 Regression] ICE in get_string, at spellcheck-tree.h:46

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 19 08:39:00 GMT 2019


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb 19 08:38:54 2019
New Revision: 269007

URL: https://gcc.gnu.org/viewcvs?rev=269007&root=gcc&view=rev
Log:
        PR c++/89390
        * error.c (qualified_name_lookup_error): Only call
        suggest_alternative_in_scoped_enum if name is IDENTIFIER_NODE.

        * g++.dg/diagnostic/pr89390.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/diagnostic/pr89390.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/error.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list