From: bernhardheld Date: Tue, 30 Oct 2001 20:40:14 +0000 (+0000) Subject: avoid stack overflow X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=c464a7b8f3e0e8ec039459daf1133f5a3236b018;p=fw%2Fsdcc avoid stack overflow git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1473 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/support/regression/tests/staticinit.c b/support/regression/tests/staticinit.c index e244d497..6a2480f4 100644 --- a/support/regression/tests/staticinit.c +++ b/support/regression/tests/staticinit.c @@ -21,7 +21,7 @@ testSmallDense(void) } #ifdef __mcs51 -idata +idata at 0xa0 /* leave space for the stack */ #endif static {type} smallSparse[] = { 1, 1, 1, 1, 1, 1, 1, 1, 1 @@ -42,7 +42,7 @@ testSmallSparse(void) } #ifdef __mcs51 -idata +idata at 0xd0 #endif static {type} smallSparseZero[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0