summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2010-04-12gc: zero unnamed return values on entry if func has deferRuss Cox1-0/+26
R=ken2 CC=golang-dev http://codereview.appspot.com/891050
2010-04-11gc: make sure main.main has correct typeRuss Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/883049
2010-04-08runtime: turn divide by zero, nil dereference into panicsRuss Cox1-0/+78
tested on linux/amd64, linux/386, linux/arm, darwin/amd64, darwin/386. freebsd untested; will finish in a separate CL. for now all the panics are errorStrings. richer structures can be added as necessary once the mechanism is shaked out. R=r CC=golang-dev http://codereview.appspot.com/906041
2010-04-06arm: fix build, attempt #2Russ Cox1-2/+2
TBR=kaib CC=golang-dev http://codereview.appspot.com/897041
2010-04-06arm: fix build, attempt #1Russ Cox3-74/+133
TBR=kaib CC=golang-dev http://codereview.appspot.com/883046
2010-04-06runtime: two proc bug fixesRuss Cox1-0/+5
1. Fix bug in GOMAXPROCS when trying to cut number of procs Race could happen on any system but was manifesting only on Xen hosted Linux. 2. Fix recover on ARM, where FP != caller SP. R=r CC=golang-dev http://codereview.appspot.com/880043
2010-04-05test/bench: add k-nucleotide-parallelKyle Consalus3-0/+184
R=rsc CC=golang-dev http://codereview.appspot.com/881042 Committer: Russ Cox <rsc@golang.org>
2010-04-05runtime: various arm fixesRuss Cox4-141/+219
* correct symbol table size * do not reorder functions in output * traceback * signal handling * use same code for go + defer * handle leaf functions in symbol table R=kaib, dpx CC=golang-dev http://codereview.appspot.com/884041
2010-04-01runtime: turn run time errors checks into panicsRuss Cox3-25/+107
R=ken2, r CC=golang-dev http://codereview.appspot.com/871042 Committer: Russ Cox <rsc@golang.org>
2010-04-01runtime: correct memory leak in selectRuss Cox1-0/+48
* adds pass 3 to dequeue from channels eagerly various other cleanup/churn: * use switch on cas->send in each pass to factor out common code. * longer goto labels, commented at target * be more agressive about can't happen: throw instead of print + cope. * use "select" instead of "selectgo" in errors * use printf for debug prints when possible R=ken2, ken3 CC=golang-dev, r http://codereview.appspot.com/875041
2010-03-31runtime: make type assertion a runtime.Error, the first of manyRuss Cox1-8/+4
R=r CC=golang-dev http://codereview.appspot.com/805043
2010-03-31test for panic and recoverRuss Cox2-0/+387
R=r, adg CC=golang-dev http://codereview.appspot.com/869041
2010-03-31gc: implement panic and recoverRuss Cox1-0/+1
R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/831042
2010-03-30simplify various code using new map index ruleRuss Cox1-11/+2
R=r CC=golang-dev http://codereview.appspot.com/833044
2010-03-30single argument panicRuss Cox33-734/+859
note that sortmain.go has been run through hg gofmt; only the formatting of the day initializers changed. i'm happy to revert that formatting if you'd prefer. stop on error in doc/progs/run R=r CC=golang-dev http://codereview.appspot.com/850041
2010-03-29gc: bug265Russ Cox2-3/+0
Fixes issue 700. R=ken2 CC=golang-dev http://codereview.appspot.com/839041
2010-03-29bug265: test case for issue 700Robert Griesemer2-0/+25
( http://code.google.com/p/go/issues/detail?id=700 ) R=r CC=golang-dev http://codereview.appspot.com/827042
2010-03-26arm: fix buildDean Prichard1-1/+0
R=rsc CC=golang-dev http://codereview.appspot.com/800041 Committer: Russ Cox <rsc@golang.org>
2010-03-26gc: allow taking address of out parametersRuss Cox2-17/+32
Fixes issue 186. R=ken2 CC=golang-dev http://codereview.appspot.com/793041
2010-03-26runtime: run all finalizers in a single goroutine.Russ Cox1-2/+8
eliminate second pass of mark+sweep by scanning finalizer table specially. R=r CC=golang-dev http://codereview.appspot.com/782041
2010-03-25bug264 didn't report BUG correctly, caused "fail" from test/runRob Pike2-5/+6
R=rsc, gri CC=golang-dev http://codereview.appspot.com/762041
2010-03-25gc: more syntax errorsRuss Cox2-0/+20
R=r CC=golang-dev http://codereview.appspot.com/731041
2010-03-25bug264: test case for issue 692Robert Griesemer2-0/+58
R=r CC=golang-dev http://codereview.appspot.com/715042
2010-03-25arm: disable some problematic testsDean Prichard2-7/+0
test/64bit.go: segfaults on sheevaplug(armv5) The following have long runtimes when GC is on. Sample run time in seconds for android emulator and sheevaplug test/stack.go: 4934s 1780s test/ken/chan.go: 860s 296s test/gc1.go: 218s 69s R=rsc, kaib CC=golang-dev http://codereview.appspot.com/749041 Committer: Russ Cox <rsc@golang.org>
2010-03-24gc: tests omitted from the last bug fixRuss Cox2-0/+68
R=ken2 CC=golang-dev http://codereview.appspot.com/748041
2010-03-24test/mallocfin: relax test to 80% from 90%.Russ Cox1-1/+1
R=r CC=golang-dev http://codereview.appspot.com/725042
2010-03-24delete all uses of panicln by rewriting them using panic or,Rob Pike51-2062/+3050
in the tests, println+panic. gofmt some tests too. R=rsc CC=golang-dev http://codereview.appspot.com/741041
2010-03-24runtime: malloc sampling, pprof interfaceRuss Cox2-1/+3
R=r CC=golang-dev http://codereview.appspot.com/719041
2010-03-23arm: fix buildDean Prichard1-3/+2
R=kaib, rsc CC=golang-dev http://codereview.appspot.com/627045 Committer: Russ Cox <rsc@golang.org>
2010-03-22gc: various map-related bug fixesRuss Cox1-1/+1
Fixes issue 687. R=ken2 CC=golang-dev http://codereview.appspot.com/680042
2010-03-10fix amd64 build (golden.out)Russ Cox1-0/+9
R=ken2 CC=golang-dev http://codereview.appspot.com/417042
2010-03-091. decommit complex(float) conversionKen Thompson3-6/+58
2. add complex algorithm for map/chan 3. test for use of complex in array, slice, field, chan, map, field, pointer. R=rsc CC=golang-dev http://codereview.appspot.com/384041
2010-03-09identical complex implementationKen Thompson6-11/+30
for 6g and 8g. can also be used for 5g. 5g is still a stub. R=rsc CC=golang-dev http://codereview.appspot.com/362041
2010-03-08arm: cleanup build warningsDean Prichard1-1/+2
trivial stuff lex.c: these prototypes are in a.h asm.c: unused variables arm-pass.txt deal w/ sieve.go rename and addition of sieve2.go R=kaib, rsc CC=golang-dev http://codereview.appspot.com/244041 Committer: Russ Cox <rsc@golang.org>
2010-03-085g/6g/8g: fix double function call in sliceRuss Cox1-0/+23
Fixes issue 654. R=ken2 CC=golang-dev http://codereview.appspot.com/310041
2010-03-056g complex type usableKen Thompson3-3/+83
8g and 5g have stubs to ignore complex R=rsc CC=golang-dev http://codereview.appspot.com/257042
2010-03-05Generate same output on all architectures.Ian Lance Taylor2-9/+22
Passing an argument to bug260 will indicate which alignments are wrong. R=r CC=golang-dev http://codereview.appspot.com/231042
2010-03-04add a test that structures pack. 6g fails.Rob Pike2-0/+46
R=rsc CC=golang-dev http://codereview.appspot.com/237041
2010-03-03gc: fix imported and not used message - show pathRuss Cox1-0/+24
R=ken2 CC=golang-dev http://codereview.appspot.com/229046
2010-03-02test: fix 386 build (missing complex)Russ Cox4-8/+4
R=ken2 CC=golang-dev http://codereview.appspot.com/223106
2010-03-02more on type complex.Ken Thompson4-0/+214
getting close. R=rsc CC=golang-dev http://codereview.appspot.com/224105
2010-02-268g: make a[byte(x)] truncate xRuss Cox1-0/+16
R=ken2 CC=golang-dev http://codereview.appspot.com/223069
2010-02-25strings: delete Runes, BytesRuss Cox5-8/+5
gofmt -w -r 'strings.Bytes(a) -> []byte(a)' src/cmd src/pkg test/bench gofmt -w -r 'strings.Runes(a) -> []int(a)' src/cmd src/pkg test/bench delete unused imports R=r CC=golang-dev http://codereview.appspot.com/224062
2010-02-25gc: implement []int(string) and []byte(string)Russ Cox2-0/+57
R=ken2 CC=golang-dev http://codereview.appspot.com/224060
2010-02-24Include an Eratosthenesque concurrent prime sieve to go along with the ↵Anh Hai Trinh2-2/+174
"naive" version. R=r CC=golang-dev http://codereview.appspot.com/218046 Committer: Rob Pike <r@golang.org>
2010-02-21test: rename nul.go to nul1.goRuss Cox1-0/+0
nul is a reserved file name in Windows R=r CC=golang-dev http://codereview.appspot.com/216068
2010-02-18gc: recursive interface embeddingRuss Cox3-17/+3
Fixes issue 287. R=ken2 CC=golang-dev http://codereview.appspot.com/215048
2010-02-178g: respect ullman numbers in float comparisonRuss Cox1-0/+33
Fixes issue 602. R=ken2 CC=golang-dev http://codereview.appspot.com/212045
2010-02-16gc: undo attempt at fixing recursive interface embeddingRuss Cox5-2/+32
Fixes issue 582. Update issue 287 Status: Accepted Bug fix was too intrusive; undo and reopen issue. R=ken2 CC=golang-dev http://codereview.appspot.com/209044
2010-02-16gc: disallow NUL byte, catch more invalid UTF-8, testRuss Cox1-0/+58
R=ken2, ken3 CC=golang-dev http://codereview.appspot.com/209041