Commit 0d7d9458 by Paolo Carlini Committed by Paolo Carlini

re PR c++/68726 (ice: tree check: expected tree_vec, have error_mark in…

re PR c++/68726 (ice: tree check: expected tree_vec, have error_mark in comp_template_args_with_info, at cp/pt.c:7890)

/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.

From-SVN: r233339
parent 26fb38a1
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.
2016-02-10 Jason Merrill <jason@redhat.com>
PR c++/68926
......
2016-02-11 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/68726
* g++.dg/cpp0x/pr68726.C: New.
2016-02-11 Ilya Enkovich <enkovich.gnu@gmail.com>
* lib/mpx-dg.exp: Fix warning in check_effective_target_mpx
......
// { dg-do compile { target c++11 } }
template <typename> struct A {
template <typename, > struct __construct_helper; // { dg-error "expected" }
template <typename... _Args>
using __has_construct typename __construct_helper<_Args...>::type; // { dg-error "expected" }
} struct : A<int> { // { dg-error "expected" }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment