pt.c (unify_pack_expansion): Initialize bad_old_arg and bad_new_arg.
2011-10-28 Paolo Carlini <paolo.carlini@oracle.com> * pt.c (unify_pack_expansion): Initialize bad_old_arg and bad_new_arg. From-SVN: r180626
This commit is contained in:
parent
c550d7dda5
commit
f4d559c0f3
@ -1,3 +1,7 @@
|
|||||||
|
2011-10-28 Paolo Carlini <paolo.carlini@oracle.com>
|
||||||
|
|
||||||
|
* pt.c (unify_pack_expansion): Initialize bad_old_arg and bad_new_arg.
|
||||||
|
|
||||||
2011-10-28 Paolo Carlini <paolo.carlini@oracle.com>
|
2011-10-28 Paolo Carlini <paolo.carlini@oracle.com>
|
||||||
|
|
||||||
PR c++/50864
|
PR c++/50864
|
||||||
|
@ -15715,7 +15715,7 @@ unify_pack_expansion (tree tparms, tree targs, tree packed_parms,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
tree bad_old_arg, bad_new_arg;
|
tree bad_old_arg = NULL_TREE, bad_new_arg = NULL_TREE;
|
||||||
tree old_args = ARGUMENT_PACK_ARGS (old_pack);
|
tree old_args = ARGUMENT_PACK_ARGS (old_pack);
|
||||||
|
|
||||||
if (!comp_template_args_with_info (old_args, new_args,
|
if (!comp_template_args_with_info (old_args, new_args,
|
||||||
|
Loading…
Reference in New Issue
Block a user