From: Paolo Carlini Date: Thu, 18 Mar 2010 11:46:15 +0000 (+0000) Subject: re PR c++/43418 (trunk rev157534. compile c++ with --enable-build-with-cxx fails... X-Git-Tag: releases/gcc-4.5.0~327 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=974ed2fa6e0efe44a857ab44321aae86c54a9408;p=thirdparty%2Fgcc.git re PR c++/43418 (trunk rev157534. compile c++ with --enable-build-with-cxx fails in cp_parser_for_init_statement) 2010-03-18 Paolo Carlini PR c++/43418 * parser.c (cp_parser_for_init_statement): Use NULL_TREE, not false, in the cp_parser_expression_statement call. From-SVN: r157536 --- diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 55d05174eee2..d27d12254ca0 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -8352,7 +8352,7 @@ cp_parser_for_init_statement (cp_parser* parser) return; } - cp_parser_expression_statement (parser, false); + cp_parser_expression_statement (parser, NULL_TREE); } /* Parse a jump-statement.