diff options
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index 217f32d120c..4fea4ac70ae 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -29,6 +29,7 @@ Boston, MA 02111-1307, USA. */ #include "output.h" #include "c-pragma.h" #include "rtl.h" +#include "ggc.h" #if USE_CPPLIB #include "cpplib.h" @@ -347,7 +348,7 @@ combine_strings (strings) if (wide_flag) length = length * wchar_bytes + wide_length; - p = savealloc (length); + p = ggc_p ? ggc_alloc_string (NULL, length) : savealloc (length); /* Copy the individual strings into the new combined string. If the combined string is wide, convert the chars to ints |