]> Cypherpunks repositories - gostls13.git/commit
fix bug in stack overflow check.
authorRob Pike <r@golang.org>
Thu, 4 Sep 2008 02:58:46 +0000 (19:58 -0700)
committerRob Pike <r@golang.org>
Thu, 4 Sep 2008 02:58:46 +0000 (19:58 -0700)
commit6c72bfa55be31d60c7c87951a30cff9c6477d1cb
treefcdcbe6cbf6c71f112473a48cce6bc899e33309e
parentf5cb258195f1627dd7da96d7483a41b5ecb61ccc
fix bug in stack overflow check.
if stack is in low memory and frame size is huge, test could wrap around!
fix by omitting test altogether if we know frame is big.

R=gri
OCL=14782
CL=14782
src/cmd/6l/pass.c
test/fixedbugs/bug092.go [moved from test/bugs/bug092.go with 100% similarity]
test/golden.out