]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/9335 (repeated diagnostic when maximum template depth is exceeded)
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Wed, 28 Apr 2010 08:34:01 +0000 (08:34 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Wed, 28 Apr 2010 08:34:01 +0000 (08:34 +0000)
commit4b414c93f0d6e1e70bff5eaca0fb8f066f793883
tree8d11fc6717643399c2039596ee4aaf922b4469c5
parent012e6a1e049a8b2706203876ee1418140842fcb3
re PR c++/9335 (repeated diagnostic when maximum template depth is exceeded)

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

PR c++/9335
cp/
        * error.c (print_instantiation_partial_context_line): Handle
recursive instantiation.
        (print_instantiation_partial_context): Likewise.

testsuite/
        * g++.dg/template/recurse2.C: Update
        * g++.dg/template/recurse.C: Update.
        * g++.dg/template/pr23510.C: Update.
        * lib/prune.exp: Filter out 'recursively instantiated'.

From-SVN: r158823
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/pr23510.C
gcc/testsuite/g++.dg/template/recurse.C
gcc/testsuite/g++.dg/template/recurse2.C
gcc/testsuite/lib/prune.exp