OSDN Git Service

Remove extra bits from my previous commit.
authordpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Jun 2003 17:26:25 +0000 (17:26 +0000)
committerdpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Jun 2003 17:26:25 +0000 (17:26 +0000)
I am sorry for the way I handled this -gused commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68587 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/toplev.c

index c58404a..3c85676 100644 (file)
@@ -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