From 3006aa689d554fe346cf500faf4944075c0d057e Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Fri, 27 Jun 2003 10:26:25 -0700 Subject: [PATCH] Remove extra bits from my previous commit. I am sorry for the way I handled this -gused commit. From-SVN: r68587 --- gcc/toplev.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/gcc/toplev.c b/gcc/toplev.c index c58404a6ad2..3c856768b3c 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -4590,20 +4590,6 @@ general_init (char *argv0) init_stringpool (); init_ttree (); - /* APPLE LOCAL setrlimit */ -#ifdef RLIMIT_STACK - /* Get rid of any avoidable limit on stack size. */ - { - struct rlimit rlim; - - /* Set the stack limit huge. (Compiles normally work within - a megabyte of stack, but the normal limit on OSX is 512K for - some reason.) */ - getrlimit (RLIMIT_STACK, &rlim); - rlim.rlim_cur = rlim.rlim_max; - setrlimit (RLIMIT_STACK, &rlim); - } -#endif /* RLIMIT_STACK defined */ } /* Parse command line options and set default flag values, called -- 2.30.2