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

From-SVN: r197125
This commit is contained in:
Eric Botcazou 2013-03-26 22:32:12 +00:00 committed by Eric Botcazou
parent 092e08c069
commit 21c802250b
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
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>
PR c++/55951

View File

@ -81,10 +81,10 @@ __db_txnlist_lsnadd(int val, DB_TXNLIST *elp, DB_LSN *lsnp, u_int32_t flags)
return val;
}
#ifndef STACK_SIZE
#define VLEN 1235
#else
#if defined (STACK_SIZE) && STACK_SIZE < 12350
#define VLEN (STACK_SIZE/10)
#else
#define VLEN 1235
#endif
int main (void)