This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

g++.old-deja/g++.eh/badalloc1.C


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]