This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/79298] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu: Segmentation fault


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

--- Comment #4 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Tue Jan 31 21:30:42 2017
New Revision: 245072

URL: https://gcc.gnu.org/viewcvs?rev=245072&root=gcc&view=rev
Log:
Fix ICE with spelling hints within explicit namespace aliases (PR c++/79298)

gcc/cp/ChangeLog:
        PR c++/79298
        * name-lookup.c (suggest_alternative_in_explicit_scope): Resolve
        any namespace aliases.

gcc/testsuite/ChangeLog:
        PR c++/79298
        * g++.dg/spellcheck-pr79298.C: New test case.

Added:
    trunk/gcc/testsuite/g++.dg/spellcheck-pr79298.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]