Commit b2802a4b by J"orn Rennecke Committed by Joern Rennecke

* parse.c (cp_parser_initializer_clause): Initialize *non_constant_p.

From-SVN: r94270
parent f7aa1423
2005-01-26 J"orn Rennecke <joern.rennecke@st.com>
* parse.c (cp_parser_initializer_clause): Initialize *non_constant_p.
2005-01-25 Andrew Pinski <pinskia@physics.uc.edu> 2005-01-25 Andrew Pinski <pinskia@physics.uc.edu>
* class.c (abort_fndecl_addr): New variable. * class.c (abort_fndecl_addr): New variable.
......
...@@ -12001,6 +12001,9 @@ cp_parser_initializer_clause (cp_parser* parser, bool* non_constant_p) ...@@ -12001,6 +12001,9 @@ cp_parser_initializer_clause (cp_parser* parser, bool* non_constant_p)
{ {
tree initializer; tree initializer;
/* Assume the expression is constant. */
*non_constant_p = false;
/* If it is not a `{', then we are looking at an /* If it is not a `{', then we are looking at an
assignment-expression. */ assignment-expression. */
if (cp_lexer_next_token_is_not (parser->lexer, CPP_OPEN_BRACE)) if (cp_lexer_next_token_is_not (parser->lexer, CPP_OPEN_BRACE))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment