diff options
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 2ee5849f0c0..b0008afd86f 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -1322,8 +1322,8 @@ _cpp_parse_assertion (pfile, answerp) lookup_node: *answerp = answer; - len = predicate->val.name.len + 1; - sym = alloca (len); + len = predicate->val.name.len; + sym = alloca (len + 1); /* Prefix '#' to get it out of macro namespace. */ sym[0] = '#'; |