This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
g++.old-deja/g++.eh/badalloc1.C
- From: Loren James Rittle <rittle at latour dot waar dot labs dot mot dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 30 Nov 2004 14:24:49 -0600 (CST)
- Subject: g++.old-deja/g++.eh/badalloc1.C
- Reply-to: rittle at labs dot mot dot com
The intent of this test is to see what happens after system
initialization in emergency throw situations. Threaded libc now
requires over 131K on FreeBSD 5 during initialization. As adjusted
and seen to work again on i386-unknown-freebsd5.3. - Loren
* g++.old-deja/g++.eh/badalloc1.C (arena_size): Bump up to 262144
to support new requirements on FreeBSD 5.
Index: gcc/testsuite/g++.old-deja/g++.eh/badalloc1.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.old-deja/g++.eh/badalloc1.C,v
retrieving revision 1.11
diff -c -r1.11 badalloc1.C
*** gcc/testsuite/g++.old-deja/g++.eh/badalloc1.C 26 Nov 2004 22:02:34 -0000 1.11
--- gcc/testsuite/g++.old-deja/g++.eh/badalloc1.C 30 Nov 2004 20:15:39 -0000
***************
*** 16,23 ****
#else
#if defined(__FreeBSD__) || defined(__sun__)
// FreeBSD with threads and Solaris with threads require even more
! // space at initialization time.
! const int arena_size = 131072;
#else
const int arena_size = 32768;
#endif
--- 16,23 ----
#else
#if defined(__FreeBSD__) || defined(__sun__)
// FreeBSD with threads and Solaris with threads require even more
! // space at initialization time. FreeBSD 5 now requires over 131072 bytes.
! const int arena_size = 262144;
#else
const int arena_size = 32768;
#endif