]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove extra bits from my previous commit.
authorDevang Patel <dpatel@gcc.gnu.org>
Fri, 27 Jun 2003 17:26:25 +0000 (10:26 -0700)
committerDevang Patel <dpatel@gcc.gnu.org>
Fri, 27 Jun 2003 17:26:25 +0000 (10:26 -0700)
I am sorry for the way I handled this -gused commit.

From-SVN: r68587

gcc/toplev.c

index c58404a6ad2240ca494b7553446cd8f892f1437c..3c856768b3c19adcd3e597904732ea28f352ee28 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