re PR c/34867 (valgrind error indication in testsuite from c-lex.c:996:c_lex_with_fla...
authorLaurynas Biveinis <laurynas.biveinis@gmail.com>
Fri, 27 Jun 2008 12:29:55 +0000 (12:29 +0000)
committerLaurynas Biveinis <lauras@gcc.gnu.org>
Fri, 27 Jun 2008 12:29:55 +0000 (12:29 +0000)
2008-06-27  Laurynas Biveinis  <laurynas.biveinis@gmail.com>

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

From-SVN: r137175

gcc/ChangeLog
gcc/c-lex.c

index 71beff9ef77649df008d9f25d73adab9d85dfcac..2e651a6dc8920b054436213c856b14407b8b660d 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
        * gimplify.c (gimplify_modify_expr_to_memset): Assert our
index 73834ef413ad5595644fc87ba18378748d4bd81c..3c2c225c59f44e3a7a90bf36e527005e9e59ebf6 100644 (file)
@@ -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);