From: Devang Patel Date: Fri, 27 Jun 2003 17:26:25 +0000 (-0700) Subject: Remove extra bits from my previous commit. X-Git-Tag: releases/gcc-3.4.0~5411 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3006aa689d554fe346cf500faf4944075c0d057e;p=thirdparty%2Fgcc.git Remove extra bits from my previous commit. I am sorry for the way I handled this -gused commit. From-SVN: r68587 --- diff --git a/gcc/toplev.c b/gcc/toplev.c index c58404a6ad22..3c856768b3c1 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