mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 03:46:53 -05:00
re PR c++/34950 (ICE in svn boost math toolkit)
PR c++/34950
* pt.c (resolve_overloaded_unification): Set processing_template_decl
while we look for possible bindings.
From-SVN: r132470
This commit is contained in:
committed by
Jason Merrill
parent
7ea26a90db
commit
bb78d95d3a
@@ -1,3 +1,9 @@
|
||||
2008-02-19 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/34950
|
||||
* pt.c (resolve_overloaded_unification): Set processing_template_decl
|
||||
while we look for possible bindings.
|
||||
|
||||
2008-02-13 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/34774
|
||||
|
||||
@@ -10107,6 +10107,7 @@ resolve_overloaded_unification (tree tparms,
|
||||
if (TREE_CODE (fn) != TEMPLATE_DECL)
|
||||
continue;
|
||||
|
||||
++processing_template_decl;
|
||||
subargs = get_bindings (fn, DECL_TEMPLATE_RESULT (fn),
|
||||
expl_subargs, /*check_ret=*/false);
|
||||
if (subargs)
|
||||
@@ -10115,6 +10116,7 @@ resolve_overloaded_unification (tree tparms,
|
||||
good += try_one_overload (tparms, targs, tempargs, parm,
|
||||
elem, strict, sub_strict, addr_p);
|
||||
}
|
||||
--processing_template_decl;
|
||||
}
|
||||
}
|
||||
else if (TREE_CODE (arg) != OVERLOAD
|
||||
|
||||
Reference in New Issue
Block a user