pt.c (fn_type_unification): Push tinst level around type_unification_real if we aren...
authorJason Merrill <jason@redhat.com>
Mon, 22 Apr 2013 20:40:54 +0000 (16:40 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 22 Apr 2013 20:40:54 +0000 (16:40 -0400)
commit3579964bee6f4b621322d367de1fa6ce4b36befc
tree2557ab41483c15f17bc88b693aca993a7c24de7b
parent80f7a782fd5a8030805a56db68c85db3bd139e23
pt.c (fn_type_unification): Push tinst level around type_unification_real if we aren't explaining.

gcc/cp/
* pt.c (fn_type_unification): Push tinst level around
type_unification_real if we aren't explaining.
* cp-tree.h (TFF_NO_TEMPLATE_BINDINGS): New.
* error.c (dump_function_decl): Respect it.
(subst_to_string): Pass it.
libstdc++-v3/
* testsuite/lib/prune.exp (libstdc++-dg-prune): Also ignore "In
substitution" lines.

From-SVN: r198161
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/error.c
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/fntmpdefarg5.C [new file with mode: 0644]
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/lib/prune.exp