From: Paul Eggert Date: Tue, 23 Dec 1997 11:55:03 +0000 (+0000) Subject: genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to RLIMIT_STACK. X-Git-Tag: releases/libf2c-0.5.21~283 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=95b8c0c8cb3a66b01830f7838700184da3f3238f;p=thirdparty%2Fgcc.git genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to RLIMIT_STACK. * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to RLIMIT_STACK. This maintains consistency with the recent, similar patch to cccp.c and toplev.c. From-SVN: r17218 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e456fe1ea727..454c7f6ab47e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Tue Dec 23 12:56:46 1997 Paul Eggert : + + * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to + RLIMIT_STACK. This maintains consistency with the recent, similar + patch to cccp.c and toplev.c. + Tue Dec 23 05:17:28 1997 Richard Henderson * genattrtab.c (expand_units): For large nr opclasses, expand diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index 8655c0602bed..8166ab84b26f 100644 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -5803,7 +5803,7 @@ main (argc, argv) rtx tem; int i; -#ifdef RLIMIT_STACK +#if defined (RLIMIT_STACK) && defined (HAVE_GETRLIMIT) && defined (HAVE_SETRLIMIT) /* Get rid of any avoidable limit on stack size. */ { struct rlimit rlim;