aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r--gcc/cp/decl.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index f8c5ff2..a6b21fd 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -6105,7 +6105,7 @@ end_only_namespace_names ()
static void
signal_catch (sig)
- int sig ATTRIBUTE_UNUSED;
+ int sig;
{
signal (SIGSEGV, SIG_DFL);
#ifdef SIGIOT
@@ -6120,7 +6120,10 @@ signal_catch (sig)
#ifdef SIGBUS
signal (SIGBUS, SIG_DFL);
#endif
- my_friendly_abort (0);
+
+ fatal ("Internal error: %s\n\
+Please submit a full bug report.\n\
+See %s for instructions.", strsignal (sig), GCCBUGURL);
}
/* Push the declarations of builtin types into the namespace.