diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-04-14 09:40:56 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-04-14 09:40:56 +0000 |
commit | 47e49e31956f101e1854d3d9c4c60b7d8ba227b7 (patch) | |
tree | 5c0f7e812107a4a1edffd2adab583d43d11252a1 /gcc/cpplib.c | |
parent | aa1275a321e5f5b881b927fd7040fdc1104288a9 (diff) | |
download | gcc-47e49e31956f101e1854d3d9c4c60b7d8ba227b7.tar.gz |
1999-04-14 12:37 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* cpperror.c, cppexp.c, cpplib.c: Never call abort.
* cpphash.c: Only call abort when we detect corruption of the
malloc arena.
* cppmain.c: Don't define fatal or fancy_abort.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26442 138bc75d-0d04-0410-961f-82ee72b054a4
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 3ed75db1d66..aa198dd931b 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. */ |