1
0
mirror of https://github.com/golang/go synced 2024-11-24 13:20:15 -07:00
go/test
Russ Cox 60d47101aa gc: fix label recursion bugs
Was keeping a pointer to the labeled statement in n->right,
which meant that generic traversals of the tree visited it twice.
That combined with aggressive flattening of the block
structure when possible during parsing meant that
the kinds of label: code label: code label: code sequences
generated by yacc were giving the recursion 2ⁿ paths
through the program.

Fixes #2212.

R=lvd
CC=golang-dev
https://golang.org/cl/4960050
2011-09-01 13:44:46 -04:00
..
bench timing.log: significant improvements after custom algorithms 2011-08-10 15:45:37 +10:00
bugs gc: relax assignability of method receivers 2011-05-24 19:48:19 -04:00
chan test/chan/sieve2.go: remove container/vector. 2011-08-22 13:29:17 +10:00
fixedbugs gc: fix div bug 2011-08-30 08:47:28 -04:00
garbage
interface errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
ken fix tree for reflect rename 2011-04-25 13:39:36 -04:00
nilptr
syntax test: avoid undefined error in syntax/if.go. 2011-03-29 06:48:20 -07:00
64bit.go
235.go
append.go
args.go
assign1.go
assign.go
bigalg.go
bigmap.go
blank1.go
blank.go
chancap.go
char_lit1.go
char_lit.go
closedchan.go go code: replace closed(c) with x, ok := <-c 2011-03-11 14:47:44 -05:00
closure.go
cmp1.go
cmp2.go
cmp3.go
cmp4.go
cmp5.go
cmp6.go test: match gccgo error messages for cmp6.go 2011-03-25 17:51:02 -07:00
cmplx.go
cmplxdivide1.go
cmplxdivide.c
cmplxdivide.go
complit.go
compos.go
const1.go
const2.go
const3.go
const.go
convert3.go
convert.go fix tree for reflect rename 2011-04-25 13:39:36 -04:00
convlit1.go
convlit.go
copy.go
ddd1.go gc: disallow [...][...]int{{1,2,3}} 2011-07-26 00:52:02 -04:00
ddd2.go
ddd3.go
ddd.go
decl.go
declbad.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
defer.go
deferprint.go
divide.go 6g, 8g: divide corner case 2011-07-28 14:18:22 -04:00
empty.go
env.go test: don't require specific GOARCH values. 2011-03-30 14:24:32 -07:00
eof1.go
eof.go
errchk errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
escape2.go gc: fix label recursion bugs 2011-09-01 13:44:46 -04:00
escape.go
float_lit.go
floatcmp.go
for.go
func1.go
func2.go
func3.go
func4.go
func5.go
func6.go gc: fix func syntax error 2011-04-13 22:48:21 -04:00
func7.go gc: fix order of operations for f() < g(). 2011-04-26 00:57:03 -04:00
func.go
gc1.go
gc2.go runtime: add UpdateMemStats, use in tests 2011-07-22 00:55:01 -04:00
gc.go
golden.out gc: make static initialization more static 2011-08-31 07:37:14 -04:00
goprint.go gc: handle go print() and go println() 2011-06-13 22:50:51 +10:00
goto.go test: test of goto restrictions 2011-06-20 14:06:00 -04:00
hashmap.go
helloworld.go
if.go go: require { } around else block 2011-07-14 17:15:52 -04:00
import1.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
import2.go
import3.go
import4.go
import.go
index.go
indirect1.go
indirect.go
init.go test: match gccgo error messages for init.go 2011-03-26 11:24:02 -07:00
initcomma.go
initialize.go
initializerr.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
initsyscall.go
int_lit.go
intcvt.go
iota.go
label1.go test: match gccgo error messages for label.go and label1.go. 2011-03-25 10:36:46 -07:00
label.go test: match gccgo error messages for label.go and label1.go. 2011-03-25 10:36:46 -07:00
literal.go
malloc1.go runtime: add UpdateMemStats, use in tests 2011-07-22 00:55:01 -04:00
mallocfin.go
mallocrand.go runtime: add UpdateMemStats, use in tests 2011-07-22 00:55:01 -04:00
mallocrep1.go runtime: add UpdateMemStats, use in tests 2011-07-22 00:55:01 -04:00
mallocrep.go runtime: add UpdateMemStats, use in tests 2011-07-22 00:55:01 -04:00
map.go
method1.go
method2.go gc: explain why invalid receiver types are invalid 2011-04-25 17:16:44 -04:00
method3.go
method.go
named1.go go code: replace closed(c) with x, ok := <-c 2011-03-11 14:47:44 -05:00
named.go
nil.go test: new nil semantics 2011-08-17 15:55:06 -04:00
nul1.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
parentype.go
peano.go
printbig.go
range.go
recover1.go
recover2.go
recover3.go
recover.go
rename1.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
rename.go
run test: put GOROOT/bin before all others in run 2011-08-24 16:12:20 +02:00
runtime.go
shift1.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
shift2.go gc: implement new shift rules 2011-05-31 15:05:40 -04:00
sieve.go
sigchld.go
simassign.go
sinit.go gc: make static initialization more static 2011-08-31 07:37:14 -04:00
sizeof.go gc: unsafe.Alignof, unsafe.Offsetof, unsafe.Sizeof now return uintptr 2011-06-17 16:12:14 -04:00
solitaire.go
stack.go
string_lit.go
stringrange.go
switch1.go
switch.go
test0.go
turing.go
typeswitch1.go
typeswitch2.go type switches: test for pathological case 2011-08-19 09:31:50 -07:00
typeswitch.go
undef.go
utf.go
varerr.go
varinit.go
vectors.go
zerodivide.go