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
This commit is contained in:
parent
8cac884c9a
commit
065312cfdd
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-08-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
||||
|
||||
* c-lex.c (c_lex_with_flags): Increase size of local variable
|
||||
to avoid memory clobber.
|
||||
|
||||
2009-08-14 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
PR target/40934
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue