diff options
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 3ed75db..aa198dd 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -836,7 +836,10 @@ cpp_expand_to_buffer (pfile, buf, length) #endif if (length < 0) - abort (); + { + cpp_fatal (pfile, "internal error: length < 0 in cpp_expand_to_buffer"); + return; + } /* Set up the input on the input stack. */ |