This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Attempt to increase RLIMIT_STACK in the driver as well as compiler (PR c++/49756, take 3)
Jakub Jelinek <jakub@redhat.com> writes:
> 2011-07-21 Jakub Jelinek <jakub@redhat.com>
>
> PR c++/49756
> * libiberty.h (stack_limit_increase): New prototype.
>
> * stack-limit.c: New file.
> * Makefile.in: Regenerate deps.
> (CFILES): Add stack-limit.c.
> (REQUIRED_OFILES): Add ./stack-limit.$(objext).
> * configure.ac (checkfuncs): Add getrlimit and setrlimit.
> (AC_CHECK_FUNCS): Likewise.
> * configure: Regenerated.
> * config.in: Regenerated.
>
> * gcc.c (main): Call stack_limit_increase (64MB).
> * toplev.c (toplev_main): Likewise.
This is OK.
Thanks.
Ian