re PR c++/49756 (g++ ICE)
authorJakub Jelinek <jakub@gcc.gnu.org>
Fri, 22 Jul 2011 09:21:49 +0000 (11:21 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 22 Jul 2011 09:21:49 +0000 (11:21 +0200)
commit679debeea3913242cd756be013e329ed8ab92af4
treef7e71ba3ab802ea17dc5cf71aa00ee0e6f8acc76
parent50823f95fd725137d863850e8d5e765ad8c2df67
re PR c++/49756 (g++ ICE)

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.

From-SVN: r176622
libiberty/stack-limit.c [new file with mode: 0644]