]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c++/43418 (trunk rev157534. compile c++ with --enable-build-with-cxx fails...
authorPaolo Carlini <paolo@gcc.gnu.org>
Thu, 18 Mar 2010 11:46:15 +0000 (11:46 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 18 Mar 2010 11:46:15 +0000 (11:46 +0000)
2010-03-18  Paolo Carlini  <paolo.carlini@oracle.com>

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

gcc/cp/parser.c

index 55d05174eee20bf8906f05fec6ac72acbaa7f12f..d27d12254ca0f68106b1f9b102384fe7a07b43d7 100644 (file)
@@ -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.