diff mbox

23_containers/vector/profile/vector.cc

Message ID CAGWvnykNCgUPKG29YWEytDxNpqE0D-zqk25--CKSQZ3c6x4xhQ@mail.gmail.com
State New
Headers show

Commit Message

David Edelsohn Nov. 21, 2015, 5:35 a.m. UTC
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.

 #define ITERATIONS 2000
diff mbox

Patch

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