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++/71826] [7 Regression] ICE on valid C++ code with ambiguous member lookup: tree check: expected baselink, have error_mark in tsubst_baselink, at cp/pt.c:13737


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jul 18 18:42:24 2016
New Revision: 238441

URL: https://gcc.gnu.org/viewcvs?rev=238441&root=gcc&view=rev
Log:
        PR c++/71826
        * pt.c (tsubst_baselink): Only set BASELINK_OPTYPE for BASELINK_P.

        * g++.dg/template/pr71826.C: New test.

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