[PR c++/9335] Detect recursive instantiation

Manuel López-Ibáñez lopezibanez@gmail.com
Tue Apr 27 21:05:00 GMT 2010


Following the discussion in PR9335.

Bootstrapped and regression tested.

OK?

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

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'.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr9335.diff
Type: text/x-diff
Size: 7724 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100427/afea0a82/attachment.bin>


More information about the Gcc-patches mailing list