Commit 065312cf by Ulrich Weigand Committed by Ulrich Weigand

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
parent 8cac884c
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> 2009-08-14 Paolo Bonzini <bonzini@gnu.org>
PR target/40934 PR target/40934
......
...@@ -390,7 +390,7 @@ c_lex_with_flags (tree *value, location_t *loc, unsigned char *cpp_flags, ...@@ -390,7 +390,7 @@ c_lex_with_flags (tree *value, location_t *loc, unsigned char *cpp_flags,
case CPP_HASH: case CPP_HASH:
case CPP_PASTE: case CPP_PASTE:
{ {
unsigned char name[4]; unsigned char name[8];
*cpp_spell_token (parse_in, tok, name, true) = 0; *cpp_spell_token (parse_in, tok, name, true) = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment