diff options
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r-- | gcc/cppmacro.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c index c5bb71e..3ce44be 100644 --- a/gcc/cppmacro.c +++ b/gcc/cppmacro.c @@ -1561,10 +1561,13 @@ cpp_macro_definition (pfile, node) *buffer++ = ')'; } + /* The Dwarf spec requires a space after the macro name, even if the + definition is the empty string. */ + *buffer++ = ' '; + /* Expansion tokens. */ if (macro->count) { - *buffer++ = ' '; for (i = 0; i < macro->count; i++) { cpp_token *token = ¯o->expansion[i]; |