Commit 4000fada by Zack Weinberg Committed by Zack Weinberg

toplev.c: Excise all code for the undocumented -dm option.

	* toplev.c: Excise all code for the undocumented -dm option.
	(float_signal): Call signal just once, unconditionally.

From-SVN: r41438
parent dea8be3e
2001-04-19 Zack Weinberg <zackw@stanford.edu>
* toplev.c: Excise all code for the undocumented -dm option.
(float_signal): Call signal just once, unconditionally.
2001-04-19 Geoff Keating <geoffk@redhat.com>
* fold-const.c (fold): Use first_rtl_op rather than
......
......@@ -335,7 +335,6 @@ static void close_dump_file PARAMS ((enum dump_file_index,
int rtl_dump_and_exit;
int flag_print_asm_name;
static int flag_print_mem;
static int version_flag;
static char *filename;
enum graph_dump_types graph_dump_format;
......@@ -1648,11 +1647,10 @@ float_signal (signo)
{
if (float_handled == 0)
crash_signal (signo);
#if defined (USG) || defined (hpux)
/* Re-enable the signal catcher. */
signal (SIGFPE, float_signal);
#endif
float_handled = 0;
/* On System-V derived systems, we must reinstall the signal handler.
This is harmless on BSD-derived systems. */
signal (SIGFPE, float_signal);
longjmp (float_handler, 1);
}
......@@ -4027,9 +4025,6 @@ decode_d_option (arg)
case 'A':
flag_debug_asm = 1;
break;
case 'm':
flag_print_mem = 1;
break;
case 'p':
flag_print_asm_name = 1;
break;
......@@ -4940,24 +4935,6 @@ toplev_main (argc, argv)
compile_file (filename);
#if !defined(OS2) && !defined(VMS) && (!defined(_WIN32) || defined (__CYGWIN__)) && !defined(__INTERIX)
if (flag_print_mem)
{
char *lim = (char *) sbrk (0);
fnotice (stderr, "Data size %ld.\n", (long) (lim - (char *) &environ));
fflush (stderr);
#ifndef __MSDOS__
#ifdef USG
system ("ps -l 1>&2");
#else /* not USG */
system ("ps v");
#endif /* not USG */
#endif
}
#endif /* ! OS2 && ! VMS && (! _WIN32 || CYGWIN) && ! __INTERIX */
if (errorcount)
return (FATAL_EXIT_CODE);
if (sorrycount)
......
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