From: Laurynas Biveinis Date: Fri, 27 Jun 2008 12:29:55 +0000 (+0000) Subject: re PR c/34867 (valgrind error indication in testsuite from c-lex.c:996:c_lex_with_fla... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=098b9c467c8ce7f342823f56a7d4d7fc029188e4;p=gcc.git 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 PR c/34867 * c-lex.c (lex_charconst): Initialize unsignedp. From-SVN: r137175 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 71beff9ef77..2e651a6dc89 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-06-27 Laurynas Biveinis + + PR c/34867 + * c-lex.c (lex_charconst): Initialize unsignedp. + 2008-06-27 Olivier Hainque * gimplify.c (gimplify_modify_expr_to_memset): Assert our diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 73834ef413a..3c2c225c59f 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -977,7 +977,7 @@ lex_charconst (const cpp_token *token) cppchar_t result; tree type, value; unsigned int chars_seen; - int unsignedp; + int unsignedp = 0; result = cpp_interpret_charconst (parse_in, token, &chars_seen, &unsignedp);