This is the mail archive of the gcc@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]

Stack overflows on Darwin - was bootstrap/8394:


Please close bootstrap/8394 - it was due to default stack limits.

The failure reported in bootstrap/8394  on Darwin6.0 happened under the
default limits

bash-2.05a$ ulimit -d -s
data seg size         (kbytes, -d) 6144
stack size            (kbytes, -s) 512

The 20021111 test results have the following gcc failures from stack
overflows.

FAIL: gcc.c-torture/compile/20001226-1.c,  -O2
FAIL: gcc.c-torture/compile/20001226-1.c,  -O3 -fomit-frame-pointer
FAIL: gcc.c-torture/compile/20001226-1.c,  -O3 -g
FAIL: gcc.dg/20020425-1.c (test for excess errors)
FAIL: gcc.dg/c90-intconst-1.c (test for excess errors)
FAIL: gcc.dg/c99-intconst-1.c (test for excess errors)

Under the following stack limits the gcc FAILs don't happen and the
1111 enable checking bootstrap is now running the tests.

bash-2.05a$ ulimit -d -s
data seg size         (kbytes, -d) 6144
stack size            (kbytes, -s) 4096

gcc.dg/c99-intconst-1.c which expands to a total of 7636 brace pairs
requires the most
stack space to avoid gt_ggc_mx_lang_tree_node calls stack overflowing.
gcc.dg/c90-intconst-1.c expands to 2287 brace pairs.

Darwin seems to permit the stack size limit to be increased once per login
shell if
dejagnu or the configury should push up the limits.


Details of bootstrap/8394
Configured with: ../gcc-20021028/configure
--enable-checking=misc,tree,rtl,gc
GNU C version 3.3 20021028 (experimental) (powerpc-apple-darwin6.0)



It has the internal identification `bootstrap/8394'.

>Category:       bootstrap
>Responsible:    unassigned
>Synopsis:       stage1/cc1 ICEs compiling java/builtins.c with
--enable-checking
>Arrival-Date:   Tue Oct 29 22:36:00 PST 2002






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