call.c (add_builtin_candidates): Use cv_unqualified rather than TYPE_MAIN_VARIANT.
authorJason Merrill <jason@redhat.com>
Tue, 21 Jun 2011 19:05:33 +0000 (15:05 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 21 Jun 2011 19:05:33 +0000 (15:05 -0400)
commitccaff498ac86149a980278f7e527270a1b3d7089
tree67f5bb40a59930b076ecb84d9f12951f05921314
parent293678445f2f62406fabf6a70c2bdbae4e8346f3
call.c (add_builtin_candidates): Use cv_unqualified rather than TYPE_MAIN_VARIANT.

* call.c (add_builtin_candidates): Use cv_unqualified rather than
TYPE_MAIN_VARIANT.
* pt.c (tsubst_arg_types): Likewise.
* except.c (build_throw): Use cv_unqualified.

From-SVN: r175272
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/except.c
gcc/cp/pt.c