From 098b9c467c8ce7f342823f56a7d4d7fc029188e4 Mon Sep 17 00:00:00 2001 From: Laurynas Biveinis Date: Fri, 27 Jun 2008 12:29:55 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/c-lex.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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); -- 2.30.2