From: Ulrich Weigand Date: Fri, 14 Aug 2009 14:38:24 +0000 (+0000) Subject: c-lex.c (c_lex_with_flags): Increase size of local variable to avoid memory clobber. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=065312cfdd633dae0cf725104e07a2c05e2747e7;p=gcc.git c-lex.c (c_lex_with_flags): Increase size of local variable to avoid memory clobber. * c-lex.c (c_lex_with_flags): Increase size of local variable to avoid memory clobber. From-SVN: r150756 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5e51aea56f2..125b127d39b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-08-14 Ulrich Weigand + + * c-lex.c (c_lex_with_flags): Increase size of local variable + to avoid memory clobber. + 2009-08-14 Paolo Bonzini PR target/40934 diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 0b6fcc00b31..0c6cdab9dff 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -390,7 +390,7 @@ c_lex_with_flags (tree *value, location_t *loc, unsigned char *cpp_flags, case CPP_HASH: case CPP_PASTE: { - unsigned char name[4]; + unsigned char name[8]; *cpp_spell_token (parse_in, tok, name, true) = 0;