re PR c++/47950 ([C++0x] Internal compiler error: non-dependent declaration as condit...
authorJason Merrill <jason@redhat.com>
Thu, 3 Mar 2011 16:51:20 +0000 (11:51 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 3 Mar 2011 16:51:20 +0000 (11:51 -0500)
commitff4bfb1056a816c881c9ffb0314b2ff202b32d03
treeba8fcf7f60e077055e0bd02dfffa6f53fef14968
parent423ed4163b160e8fa81758ed53e54c60040f3c0f
re PR c++/47950 ([C++0x] Internal compiler error: non-dependent declaration as condition causes tsubst_copy_and_build assertion failure.)

PR c++/47950
* pt.c (tsubst_copy_and_build) [TARGET_EXPR]: Retain TREE_CONSTANT.

From-SVN: r170656
gcc/cp/ChangeLog
gcc/cp/pt.c