diff options
author | Paul Eggert <eggert@twinsun.com> | 1997-12-23 11:55:03 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-12-23 04:55:03 -0700 |
commit | 95b8c0c8cb3a66b01830f7838700184da3f3238f (patch) | |
tree | b707223acf0fa0aa1dadf69f2525164464df877d /gcc | |
parent | d3d1907aacfb1204ac3dcf197e51a85a68d86bdb (diff) | |
download | gcc-95b8c0c8cb3a66b01830f7838700184da3f3238f.zip gcc-95b8c0c8cb3a66b01830f7838700184da3f3238f.tar.gz gcc-95b8c0c8cb3a66b01830f7838700184da3f3238f.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/genattrtab.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e456fe1..454c7f6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Tue Dec 23 12:56:46 1997 Paul Eggert <eggert@twinsun.com>: + + * 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 <rth@cygnus.com> * genattrtab.c (expand_units): For large nr opclasses, expand diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index 8655c06..8166ab8 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; |