diff options
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/tree.c | 7 |
2 files changed, 5 insertions, 7 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index dbf6330..d91b614 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2015-04-14 Mikhail Maltsev <maltsevm@gmail.com> + + * tree.c (replace_placeholders_t): Remove unused type. + (replace_placeholders): Remove unused pset. + 2015-04-14 Jason Merrill <jason@redhat.com> * pt.c (lookup_template_class_1): Use coerce_innermost_template_parms. diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 71c84ae..9a4779f 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -2473,12 +2473,6 @@ build_ctor_subob_ref (tree index, tree type, tree obj) /* Like substitute_placeholder_in_expr, but handle C++ tree codes and build up subexpressions as we go deeper. */ -struct replace_placeholders_t -{ - tree obj; - hash_set<tree> *pset; -}; - static tree replace_placeholders_r (tree* t, int* walk_subtrees, void* data_) { @@ -2539,7 +2533,6 @@ replace_placeholders_r (tree* t, int* walk_subtrees, void* data_) tree replace_placeholders (tree exp, tree obj) { - hash_set<tree> pset; tree *tp = &exp; if (TREE_CODE (exp) == TARGET_EXPR) tp = &TARGET_EXPR_INITIAL (exp); |