This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: PR target/19888 - HP-UX IA64 test failure
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 24 Mar 2005 11:29:29 -0800 (PST)
- Subject: Patch: PR target/19888 - HP-UX IA64 test failure
- Reply-to: sje at cup dot hp dot com
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