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]

Patch: PR target/19888 - HP-UX IA64 test failure


I will check in this change as an obvious fix if no one objects.  The
HP-UX IA64 platform needs the same larger arena_size that FreeBSD and
Sun use.  I tested the change on HP-UX IA64 and the test passes with
this patch.

Steve Ellcey
sje@cup.hp.com

2005-03-24  Steve Ellcey  <sje@cup.hp.com>

	PR target/19888
	* g++.old-deja/g++.eh/badalloc1.C: increase arena_size on hpux.

*** gcc.orig/gcc/testsuite/g++.old-deja/g++.eh/badalloc1.C	Thu Mar 24 11:19:37 2005
--- gcc/gcc/testsuite/g++.old-deja/g++.eh/badalloc1.C	Thu Mar 24 11:21:25 2005
*************** extern "C" void *memcpy(void *, const vo
*** 14,21 ****
  #ifdef STACK_SIZE
  const int arena_size = 256;
  #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
--- 14,21 ----
  #ifdef STACK_SIZE
  const int arena_size = 256;
  #else
! #if defined(__FreeBSD__) || defined(__sun__) || defined(__hpux__)
! // FreeBSD, Solaris and HP-UX with threads require even more
  // space at initialization time.  FreeBSD 5 now requires over 131072 bytes.
  const int arena_size = 262144;
  #else


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