parser.c (cp_parser_constant_expression): Just return the non-constant expression.
authorJason Merrill <jason@redhat.com>
Fri, 10 Jun 2011 03:55:41 +0000 (23:55 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 10 Jun 2011 03:55:41 +0000 (23:55 -0400)
commitb1623cc545933d93b4b34b3159d03554525f6e04
treec9d2d664f61caec2d23396f62b24080dd7672546
parent8c53f5e2fad1a0c4bccd894ab6e57a169fc66baf
parser.c (cp_parser_constant_expression): Just return the non-constant expression.

* parser.c (cp_parser_constant_expression): Just return the
non-constant expression.

From-SVN: r174882
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/regress/error-recovery1.C
gcc/testsuite/g++.dg/parse/template7.C