Revert:PR c++/50800
authorJason Merrill <jason@gcc.gnu.org>
Thu, 23 Apr 2015 19:40:16 +0000 (15:40 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 23 Apr 2015 19:40:16 +0000 (15:40 -0400)
commitbb7ec730fe407f84e27c6e0e0cdcf71c0fe50c3a
tree6dc602d1b04184377dd1acba5a3f7a5aa887860c
parent98ff5bf95936e741cdcbda61c279e12f05714993
Revert:PR c++/50800

Revert: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: r222384
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/cp/tree.c
gcc/testsuite/g++.dg/abi/mangle40.C
gcc/testsuite/g++.dg/ext/alias-canon2.C
gcc/testsuite/g++.dg/ext/alias-mangle.C
gcc/testsuite/g++.dg/ext/attrib50.C [deleted file]