re PR c++/47971 (ICE: in tsubst_copy, at cp/pt.c:11725 on valid code)
authorJason Merrill <jason@redhat.com>
Fri, 4 Mar 2011 15:18:07 +0000 (10:18 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 4 Mar 2011 15:18:07 +0000 (10:18 -0500)
commitad00b8db9ae8be85946993a52b14a16e85754aac
tree0ffc9911155890ce43c9b0a4ade7afc2674663e2
parent38ffa8289c7d310de3e1d02b12133394a4fd950e
re PR c++/47971 (ICE: in tsubst_copy, at cp/pt.c:11725 on valid code)

PR c++/47971
* pt.c (tsubst_copy_and_build) [PSEUDO_DTOR_EXPR]: Use tsubst for type.
(tsubst_copy) [default]: Just return t if !ENABLE_CHECKING.

From-SVN: r170677
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/pseudodtor6.C [new file with mode: 0644]