[Bug c++/68726] ice: tree check: expected tree_vec, have error_mark in comp_template_args_with_info, at cp/pt.c:7890

paolo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 11 11:45:00 GMT 2016


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

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Thu Feb 11 11:44:51 2016
New Revision: 233339

URL: https://gcc.gnu.org/viewcvs?rev=233339&root=gcc&view=rev
Log:
/cp
2016-02-11  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/68726
        * pt.c (lookup_template_class_1): Check tsubst return value for
        error_mark_node.

/testsuite
2016-02-11  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/68726
        * g++.dg/cpp0x/pr68726.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr68726.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list