re PR c++/46420 ([C++0X][4.6 regression] ICE: in tsubst_copy, at cp/pt.c:11677)
authorJason Merrill <jason@redhat.com>
Thu, 11 Nov 2010 06:17:32 +0000 (01:17 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 11 Nov 2010 06:17:32 +0000 (01:17 -0500)
commit9c8b521559a6574dfe1dc7280eff9b41af2b0d5b
tree13ef2aa7d1ce3349e5c6648eb468da5e745869ca
parent72b53e21bd8a0d8136df0026956e47adec1f27ac
re PR c++/46420 ([C++0X][4.6 regression] ICE: in tsubst_copy, at cp/pt.c:11677)

PR c++/46420
* pt.c (tsubst_copy_and_build) [TARGET_EXPR]: New case.
[CONSTRUCTOR]: Use the tsubsted type.

From-SVN: r166592
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-46420.C [new file with mode: 0644]