re PR c++/23510 (skip some instantation contexts if there are too many)
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Sun, 21 Feb 2010 21:20:04 +0000 (21:20 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Sun, 21 Feb 2010 21:20:04 +0000 (21:20 +0000)
commitf89b94d954b87c1b90293d14f1ca1ed15d2ee8f1
tree1a705e9468f4fd9553bcd09117ccf45e69d324ec
parent681f05d4f0195b8566bdc0c985afb6ac4cd95069
re PR c++/23510 (skip some instantation contexts if there are too many)

2010-02-21  Manuel López-Ibáñez  <manu@gcc.gnu.org>

PR c++/23510
cp/
* error.c (print_instantiation_partial_context_line): New.
(print_instantiation_partial_context): Print at most 12 contexts,
skip the rest with a message.
testsuite/
* g++.dg/template/recurse.C: Adjust.
* g++.dg/template/pr23510.C: New.

From-SVN: r156942
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/pr23510.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/recurse.C