Commit 21c80225 by Eric Botcazou Committed by Eric Botcazou

* gcc.c-torture/execute/20011008-3.c: Cap VLEN with STACK_SIZE too.

From-SVN: r197125
parent 092e08c0
2013-03-26 Eric Botcazou <ebotcazou@adacore.com>
* gcc.c-torture/execute/20011008-3.c: Cap VLEN with STACK_SIZE too.
2013-03-26 Paolo Carlini <paolo.carlini@oracle.com> 2013-03-26 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/55951 PR c++/55951
......
...@@ -81,10 +81,10 @@ __db_txnlist_lsnadd(int val, DB_TXNLIST *elp, DB_LSN *lsnp, u_int32_t flags) ...@@ -81,10 +81,10 @@ __db_txnlist_lsnadd(int val, DB_TXNLIST *elp, DB_LSN *lsnp, u_int32_t flags)
return val; return val;
} }
#ifndef STACK_SIZE #if defined (STACK_SIZE) && STACK_SIZE < 12350
#define VLEN 1235
#else
#define VLEN (STACK_SIZE/10) #define VLEN (STACK_SIZE/10)
#else
#define VLEN 1235
#endif #endif
int main (void) int main (void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment