summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.h
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-15 15:50:51 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-15 15:50:51 +0000
commit2dd9ef432d87eef0964d5ec1ccd6d1397efaaf3f (patch)
treef927bdafd430a86ad8fdd9549af9b7897ba84be5 /gcc/diagnostic.h
parent211f311664516319ad48d5272f056d9298e7344e (diff)
downloadgcc-2dd9ef432d87eef0964d5ec1ccd6d1397efaaf3f.tar.gz
* diagnostic.c (finish_abort): New fn.
(fancy_abort, error_recursion): Use it. * toplev.c (crash_signal): Likewise. * diagnostic.h: Declare it. * typeck2.c (friendly_abort): Uncount the error before handing off to fancy_abort. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37480 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.h')
-rw-r--r--gcc/diagnostic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/diagnostic.h b/gcc/diagnostic.h
index 6d693fc24c1..5abae7b8171 100644
--- a/gcc/diagnostic.h
+++ b/gcc/diagnostic.h
@@ -207,5 +207,6 @@ void record_last_error_module PARAMS ((void));
int error_function_changed PARAMS ((void));
void record_last_error_function PARAMS ((void));
void report_problematic_module PARAMS ((output_buffer *));
+void finish_abort PARAMS ((void)) ATTRIBUTE_NORETURN;
#endif /* __GCC_DIAGNOSTIC_H__ */