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++/86661] [9 Regression] g++ ICE:tree check: expected tree that contains ‘decl minimal’ structure, have ‘overload’ in note_name_declared_in_class, at cp/class.c:8288


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

--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Aug  1 12:09:33 2018
New Revision: 263207

URL: https://gcc.gnu.org/viewcvs?rev=263207&root=gcc&view=rev
Log:
/cp
2018-08-01  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/86661
        * class.c (note_name_declared_in_class): Use location_of in permerror
        instead of DECL_SOURCE_LOCATION (for OVERLOADs).

/testsuite
2018-08-01  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/86661
        * g++.dg/lookup/name-clash12.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/lookup/name-clash12.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.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]