This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] 23_containers/vector/profile/vector.cc
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 21 Nov 2015 00:35:56 -0500
- Subject: [PATCH] 23_containers/vector/profile/vector.cc
- Authentication-results: sourceware.org; auth=none
The testcase allocates so much memory that it requires an additional
option to enabled higher memory limit on AIX.
Bootstrapped on powerpc-ibm-aix7.1.0.0
Thanks, David
* testsuite/23_containers/vector/profile/vector.cc: Add maxdata option on AIX.
Index: 23_containers/vector/profile/vector.cc
===================================================================
--- 23_containers/vector/profile/vector.cc (revision 230674)
+++ 23_containers/vector/profile/vector.cc (working copy)
@@ -2,6 +2,8 @@
// Advice: set tmp as 10000
// { dg-options "-DITERATIONS=20" { target simulator } }
+// AIX requires higher memory limit
+// { dg-additional-options "-Wl,-bmaxdata:0x20000000" { target {
powerpc-ibm-aix* } } }
#ifndef ITERATIONS
#define ITERATIONS 2000