diff options
author | Jason Merrill <jason@redhat.com> | 2012-07-05 15:39:12 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2012-07-05 15:39:12 -0400 |
commit | 9ae8d9dfc4661b0cba2797c211eab27d6fc206fa (patch) | |
tree | fabfe069719efa33a914e69ac81c22627ffa0e17 /gcc/cp/tree.c | |
parent | 49bb4bbe90dff8b1cc71e08693ed24e00b0f648e (diff) | |
download | gcc-9ae8d9dfc4661b0cba2797c211eab27d6fc206fa.zip gcc-9ae8d9dfc4661b0cba2797c211eab27d6fc206fa.tar.gz gcc-9ae8d9dfc4661b0cba2797c211eab27d6fc206fa.tar.bz2 |
cp-tree.h (TEMPLATE_PARM_NUM_SIBLINGS): Remove.
* cp-tree.h (TEMPLATE_PARM_NUM_SIBLINGS): Remove.
(struct template_parm_index_s): Remove num_siblings.
* pt.c (fixup_template_parms, fixup_template_parm_index): Remove.
(fixup_template_type_parm_type): Remove.
(build_template_parm_index): Remove num_siblings parm.
(process_template_parm): Likewise.
* parser.c (cp_parser_template_parameter_list): Adjust.
* tree.c (cp_tree_equal): Don't compare num_siblings.
* typeck.c (comp_template_parms_position): Likewise.
From-SVN: r189299
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r-- | gcc/cp/tree.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 15effe4..01bc483 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -2568,9 +2568,6 @@ cp_tree_equal (tree t1, tree t2) BASELINK_FUNCTIONS (t2))); case TEMPLATE_PARM_INDEX: - if (TEMPLATE_PARM_NUM_SIBLINGS (t1) - != TEMPLATE_PARM_NUM_SIBLINGS (t2)) - return false; return (TEMPLATE_PARM_IDX (t1) == TEMPLATE_PARM_IDX (t2) && TEMPLATE_PARM_LEVEL (t1) == TEMPLATE_PARM_LEVEL (t2) && (TEMPLATE_PARM_PARAMETER_PACK (t1) |