aboutsummaryrefslogtreecommitdiff
path: root/gcc/diagnostic.h
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2000-11-15 10:50:51 -0500
committerJason Merrill <jason@gcc.gnu.org>2000-11-15 10:50:51 -0500
commitee3400e881ef5870dd6b1d274dfcd09c73828a1a (patch)
treef927bdafd430a86ad8fdd9549af9b7897ba84be5 /gcc/diagnostic.h
parent12e1243e426a12358e793cef2735e77c37452ec7 (diff)
downloadgcc-ee3400e881ef5870dd6b1d274dfcd09c73828a1a.zip
gcc-ee3400e881ef5870dd6b1d274dfcd09c73828a1a.tar.gz
gcc-ee3400e881ef5870dd6b1d274dfcd09c73828a1a.tar.bz2
diagnostic.c (finish_abort): New fn.
* 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. From-SVN: r37480
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 6d693fc..5abae7b 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__ */