Commit 505b0fd6 by Geoffrey Keating Committed by Geoffrey Keating

host-darwin.c (segv_handler): When -dH is used, call abort() after running out of stack space.

	* config/rs6000/host-darwin.c (segv_handler): When -dH is used,
	call abort() after running out of stack space.

From-SVN: r66282
parent a6fdc086
2003-04-29 Geoffrey Keating <geoffk@apple.com> 2003-04-29 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/host-darwin.c (segv_handler): When -dH is used,
call abort() after running out of stack space.
* c-typeck.c (function_types_compatible_p): Ignore incompatible * c-typeck.c (function_types_compatible_p): Ignore incompatible
'volatile' qualifiers on a function's return type in GNU mode. 'volatile' qualifiers on a function's return type in GNU mode.
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include "hosthooks.h" #include "hosthooks.h"
#include "hosthooks-def.h" #include "hosthooks-def.h"
#include "toplev.h" #include "toplev.h"
#include "diagnostic.h"
static void segv_crash_handler PARAMS ((int)); static void segv_crash_handler PARAMS ((int));
static void segv_handler PARAMS ((int, siginfo_t *, void *)); static void segv_handler PARAMS ((int, siginfo_t *, void *));
...@@ -105,6 +106,9 @@ segv_handler (sig, sip, scp) ...@@ -105,6 +106,9 @@ segv_handler (sig, sip, scp)
} }
} }
if (global_dc->abort_on_error)
abort ();
exit (FATAL_EXIT_CODE); exit (FATAL_EXIT_CODE);
} }
......
host-darwin.o : $(srcdir)/config/rs6000/host-darwin.c $(CONFIG_H) $(SYSTEM_H) \ host-darwin.o : $(srcdir)/config/rs6000/host-darwin.c $(CONFIG_H) $(SYSTEM_H) \
coretypes.h hosthooks.h hosthooks-def.h toplev.h coretypes.h hosthooks.h hosthooks-def.h toplev.h diagnostic.h
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
$(srcdir)/config/rs6000/host-darwin.c $(srcdir)/config/rs6000/host-darwin.c
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment