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] 23_containers/vector/profile/vector.cc


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


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