re PR c++/47950 ([C++0x] Internal compiler error: non-dependent declaration as condit...
authorJason Merrill <jason@redhat.com>
Thu, 3 Mar 2011 02:49:28 +0000 (21:49 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 3 Mar 2011 02:49:28 +0000 (21:49 -0500)
commit79d3d3f46cd4080579490adf05b38cd6338eb573
tree87fbfd58163991bd059edb6bb38afc64260b378a
parent262a7d6bc0820d7aed46a05b2b8b6ef7824bb08f
re PR c++/47950 ([C++0x] Internal compiler error: non-dependent declaration as condition causes tsubst_copy_and_build assertion failure.)

PR c++/47950
* parser.c (cp_parser_condition): Don't fold_non_dependent_expr here.

From-SVN: r170639
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/regress/condition1.C [new file with mode: 0644]