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++/77508] [7 Regression] ICE on valid C++ code: in finish_class_member_access_expr, at cp/typeck.c:2783


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

--- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Mon Jan 23 20:19:07 2017
New Revision: 244832

URL: https://gcc.gnu.org/viewcvs?rev=244832&root=gcc&view=rev
Log:
        PR c++/71406 - ICE with scope-ref'd template id exprs
        PR c++/77508
        * typeck.c (finish_class_member_access_expr): Break up SCOPE_REF
        before breaking up TEMPLATE_ID_EXPR.

        PR c++/71406
        PR c++/77508
        * g++.dg/template/pr71406.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/template/pr71406.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.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]