aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cp-tree.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2015-04-23 11:55:21 -0400
committerJason Merrill <jason@gcc.gnu.org>2015-04-23 11:55:21 -0400
commitb88fa2656ba66afd943e0c8a944c139c16343dfc (patch)
treed05c2d5aab8de47b924156998dfccc05465c5d69 /gcc/cp/cp-tree.h
parent6c28362134af5aa01326e4fc3d38753b7fd42eba (diff)
downloadgcc-b88fa2656ba66afd943e0c8a944c139c16343dfc.zip
gcc-b88fa2656ba66afd943e0c8a944c139c16343dfc.tar.gz
gcc-b88fa2656ba66afd943e0c8a944c139c16343dfc.tar.bz2
re PR c++/50800 (Internal compiler error in finish_member_declarations, possibly related to may_alias attribute)
PR c++/50800 * tree.c (strip_typedefs): Add remove_attributes parm. (strip_typedefs_expr): Likewise. (apply_identity_attributes): New subroutine of strip_typedefs. * pt.c (canonicalize_type_argument): Let strip_typedefs handle attrs. (convert_nontype_argument, unify): Likewise. * cp-tree.h: Adjust. From-SVN: r222377
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r--gcc/cp/cp-tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 2a904a5..df03d1a 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -6066,8 +6066,8 @@ extern bool class_tmpl_impl_spec_p (const_tree);
extern int zero_init_p (const_tree);
extern bool check_abi_tag_redeclaration (const_tree, const_tree, const_tree);
extern bool check_abi_tag_args (tree, tree);
-extern tree strip_typedefs (tree);
-extern tree strip_typedefs_expr (tree);
+extern tree strip_typedefs (tree, bool * = NULL);
+extern tree strip_typedefs_expr (tree, bool * = NULL);
extern tree copy_binfo (tree, tree, tree,
tree *, int);
extern int member_p (const_tree);