Commit 098b9c46 by Laurynas Biveinis Committed by Laurynas Biveinis

re PR c/34867 (valgrind error indication in testsuite from…

re PR c/34867 (valgrind error indication in testsuite from c-lex.c:996:c_lex_with_flags for gcc.dg/cpp/charconst.c)

2008-06-27  Laurynas Biveinis  <laurynas.biveinis@gmail.com>

	PR c/34867
	* c-lex.c (lex_charconst): Initialize unsignedp.

From-SVN: r137175
parent fa52081d
2008-06-27 Laurynas Biveinis <laurynas.biveinis@gmail.com>
PR c/34867
* c-lex.c (lex_charconst): Initialize unsignedp.
2008-06-27 Olivier Hainque <hainque@adacore.com> 2008-06-27 Olivier Hainque <hainque@adacore.com>
* gimplify.c (gimplify_modify_expr_to_memset): Assert our * gimplify.c (gimplify_modify_expr_to_memset): Assert our
......
...@@ -977,7 +977,7 @@ lex_charconst (const cpp_token *token) ...@@ -977,7 +977,7 @@ lex_charconst (const cpp_token *token)
cppchar_t result; cppchar_t result;
tree type, value; tree type, value;
unsigned int chars_seen; unsigned int chars_seen;
int unsignedp; int unsignedp = 0;
result = cpp_interpret_charconst (parse_in, token, result = cpp_interpret_charconst (parse_in, token,
&chars_seen, &unsignedp); &chars_seen, &unsignedp);
......
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