summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/toplev.c')
-rwxr-xr-xgcc/toplev.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index d8e54cd..472df7c 100755
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -4250,7 +4250,6 @@ main (argc, argv)
{
register int i;
char *filename = 0;
- int flag_print_mem = 0;
int version_flag = 0;
char *p;
@@ -4267,18 +4266,6 @@ main (argc, argv)
--p;
progname = p;
-#if defined (RLIMIT_STACK) && defined (HAVE_GETRLIMIT) && defined (HAVE_SETRLIMIT)
- /* Get rid of any avoidable limit on stack size. */
- {
- struct rlimit rlim;
-
- /* Set the stack limit huge so that alloca does not fail. */
- getrlimit (RLIMIT_STACK, &rlim);
- rlim.rlim_cur = rlim.rlim_max;
- setrlimit (RLIMIT_STACK, &rlim);
- }
-#endif
-
signal (SIGFPE, float_signal);
#ifdef SIGPIPE
@@ -4490,9 +4477,6 @@ main (argc, argv)
case 'L':
loop_dump = 1;
break;
- case 'm':
- flag_print_mem = 1;
- break;
#ifdef MACHINE_DEPENDENT_REORG
case 'M':
mach_dep_reorg_dump = 1;
@@ -4916,24 +4900,6 @@ main (argc, argv)
compile_file (filename);
-#if !defined(OS2) && (!defined(_WIN32) || defined (__CYGWIN__))
- if (flag_print_mem)
- {
- char *lim = (char *) sbrk (0);
-
- fprintf (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 && (! _WIN32 || CYGWIN) */
-
if (errorcount)
exit (FATAL_EXIT_CODE);
if (sorrycount)