re PR c++/49756 (g++ ICE)
authorJakub Jelinek <jakub@redhat.com>
Fri, 22 Jul 2011 08:33:37 +0000 (10:33 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 22 Jul 2011 08:33:37 +0000 (10:33 +0200)
commitd423df48237b2533a1781d177caf8419e1262d5b
tree2bd70c0d114f37575687da7d0ce9ef17bc9cbcc3
parente05de0a910810a34fce108d85f0574a6be53b6e7
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: r176617
gcc/ChangeLog
gcc/gcc.c
gcc/toplev.c
include/ChangeLog
include/libiberty.h
libiberty/ChangeLog
libiberty/Makefile.in
libiberty/config.in
libiberty/configure
libiberty/configure.ac