summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* single argument panicRuss Cox2010-03-3033-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
* gc: bug265Russ Cox2010-03-292-3/+0
| | | | | | | | Fixes issue 700. R=ken2 CC=golang-dev http://codereview.appspot.com/839041
* bug265: test case for issue 700Robert Griesemer2010-03-292-0/+25
| | | | | | | | ( http://code.google.com/p/go/issues/detail?id=700 ) R=r CC=golang-dev http://codereview.appspot.com/827042
* arm: fix buildDean Prichard2010-03-261-1/+0
| | | | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/800041 Committer: Russ Cox <rsc@golang.org>
* gc: allow taking address of out parametersRuss Cox2010-03-262-17/+32
| | | | | | | | Fixes issue 186. R=ken2 CC=golang-dev http://codereview.appspot.com/793041
* runtime: run all finalizers in a single goroutine.Russ Cox2010-03-261-2/+8
| | | | | | | | | eliminate second pass of mark+sweep by scanning finalizer table specially. R=r CC=golang-dev http://codereview.appspot.com/782041
* bug264 didn't report BUG correctly, caused "fail" from test/runRob Pike2010-03-252-5/+6
| | | | | | R=rsc, gri CC=golang-dev http://codereview.appspot.com/762041
* gc: more syntax errorsRuss Cox2010-03-252-0/+20
| | | | | | R=r CC=golang-dev http://codereview.appspot.com/731041
* bug264: test case for issue 692Robert Griesemer2010-03-252-0/+58
| | | | | | R=r CC=golang-dev http://codereview.appspot.com/715042
* arm: disable some problematic testsDean Prichard2010-03-252-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>
* gc: tests omitted from the last bug fixRuss Cox2010-03-242-0/+68
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/748041
* test/mallocfin: relax test to 80% from 90%.Russ Cox2010-03-241-1/+1
| | | | | | R=r CC=golang-dev http://codereview.appspot.com/725042
* delete all uses of panicln by rewriting them using panic or,Rob Pike2010-03-2451-2062/+3050
| | | | | | | | | in the tests, println+panic. gofmt some tests too. R=rsc CC=golang-dev http://codereview.appspot.com/741041
* runtime: malloc sampling, pprof interfaceRuss Cox2010-03-242-1/+3
| | | | | | R=r CC=golang-dev http://codereview.appspot.com/719041
* arm: fix buildDean Prichard2010-03-231-3/+2
| | | | | | | | R=kaib, rsc CC=golang-dev http://codereview.appspot.com/627045 Committer: Russ Cox <rsc@golang.org>
* gc: various map-related bug fixesRuss Cox2010-03-221-1/+1
| | | | | | | | Fixes issue 687. R=ken2 CC=golang-dev http://codereview.appspot.com/680042
* fix amd64 build (golden.out)Russ Cox2010-03-101-0/+9
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/417042
* 1. decommit complex(float) conversionKen Thompson2010-03-093-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
* identical complex implementationKen Thompson2010-03-096-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
* arm: cleanup build warningsDean Prichard2010-03-081-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>
* 5g/6g/8g: fix double function call in sliceRuss Cox2010-03-081-0/+23
| | | | | | | | Fixes issue 654. R=ken2 CC=golang-dev http://codereview.appspot.com/310041
* 6g complex type usableKen Thompson2010-03-053-3/+83
| | | | | | | | 8g and 5g have stubs to ignore complex R=rsc CC=golang-dev http://codereview.appspot.com/257042
* Generate same output on all architectures.Ian Lance Taylor2010-03-052-9/+22
| | | | | | | | | Passing an argument to bug260 will indicate which alignments are wrong. R=r CC=golang-dev http://codereview.appspot.com/231042
* add a test that structures pack. 6g fails.Rob Pike2010-03-042-0/+46
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/237041
* gc: fix imported and not used message - show pathRuss Cox2010-03-031-0/+24
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/229046
* test: fix 386 build (missing complex)Russ Cox2010-03-024-8/+4
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/223106
* more on type complex.Ken Thompson2010-03-024-0/+214
| | | | | | | | getting close. R=rsc CC=golang-dev http://codereview.appspot.com/224105
* 8g: make a[byte(x)] truncate xRuss Cox2010-02-261-0/+16
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/223069
* strings: delete Runes, BytesRuss Cox2010-02-255-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
* gc: implement []int(string) and []byte(string)Russ Cox2010-02-252-0/+57
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/224060
* Include an Eratosthenesque concurrent prime sieve to go along with the ↵Anh Hai Trinh2010-02-242-2/+174
| | | | | | | | | | "naive" version. R=r CC=golang-dev http://codereview.appspot.com/218046 Committer: Rob Pike <r@golang.org>
* test: rename nul.go to nul1.goRuss Cox2010-02-211-0/+0
| | | | | | | | nul is a reserved file name in Windows R=r CC=golang-dev http://codereview.appspot.com/216068
* gc: recursive interface embeddingRuss Cox2010-02-183-17/+3
| | | | | | | | Fixes issue 287. R=ken2 CC=golang-dev http://codereview.appspot.com/215048
* 8g: respect ullman numbers in float comparisonRuss Cox2010-02-171-0/+33
| | | | | | | | Fixes issue 602. R=ken2 CC=golang-dev http://codereview.appspot.com/212045
* gc: undo attempt at fixing recursive interface embeddingRuss Cox2010-02-165-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
* gc: disallow NUL byte, catch more invalid UTF-8, testRuss Cox2010-02-161-0/+58
| | | | | | R=ken2, ken3 CC=golang-dev http://codereview.appspot.com/209041
* gc: test & fix handling of very long string constantsRuss Cox2010-02-161-0/+20070
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/207106
* gc: diagnose invalid array boundsRuss Cox2010-02-122-0/+31
| | | | | | | | Fixes issue 587. R=ken2 CC=golang-dev http://codereview.appspot.com/207085
* arm: take out fixedbugs/bug120 - gives inconsistent errorsRuss Cox2010-02-102-6/+0
| | | | | | R=kaib CC=golang-dev http://codereview.appspot.com/207062
* arm: fix build on androidRuss Cox2010-02-104-16/+162
| | | | | | R=kaib CC=golang-dev http://codereview.appspot.com/206059
* clean new garbage collector benchmark binariesRuss Cox2010-02-101-1/+1
| | | | | | TBR=agl1 CC=golang-dev http://codereview.appspot.com/207055
* fix garbage benchmark Makefile.Russ Cox2010-02-091-4/+4
| | | | | | | | | | apparently some versions of GNU make cannot handle the %: %.$O rule. i don't understand why and don't care enough to find out. R=agl1 CC=golang-dev http://codereview.appspot.com/206055
* add simple garbage collector benchmarks to dashboardRuss Cox2010-02-094-13/+291
| | | | | | R=agl1 CC=golang-dev http://codereview.appspot.com/207043
* Struct field ambiguity test.Ian Lance Taylor2010-02-081-0/+28
| | | | | | | | gccgo gets this wrong at the moment. R=rsc CC=golang-dev http://codereview.appspot.com/205044
* runtime: instrument malloc + garbage collector.Russ Cox2010-02-081-0/+201
| | | | | | | | add simple garbage collection benchmark. R=iant CC=golang-dev http://codereview.appspot.com/204053
* Match gccgo error message.Ian Lance Taylor2010-02-051-1/+1
| | | | | | | | bug251.go:11:2: error: invalid recursive interface R=rsc CC=golang-dev http://codereview.appspot.com/204052
* Match gccgo error messages.Ian Lance Taylor2010-02-051-2/+2
| | | | | | | | | | ddd1.go:16:10: error: argument 1 has incompatible type ddd1.go:17:10: error: argument 1 has incompatible type ddd1.go:15:10: error: floating point constant truncated to integer R=rsc CC=golang-dev http://codereview.appspot.com/204048
* Match gccgo error messages.Ian Lance Taylor2010-02-048-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug121.go:12:3: error: name list not allowed in interface type bug121.go:16:2: error: expected signature or type name semi1.go:10:76: error: unexpected semicolon or newline before ?{? semi1.go:10:5: error: reference to undefined name ?x? semi1.go:10:8: error: reference to undefined name ?y? semi1.go:12:3: error: reference to undefined name ?z? semi2.go:10:79: error: unexpected semicolon or newline before ?{? semi2.go:10:9: error: reference to undefined name ?x? semi3.go:10:79: error: unexpected semicolon or newline before ?{? semi3.go:10:6: error: reference to undefined name ?x? semi3.go:10:9: error: reference to undefined name ?y? semi3.go:10:12: error: reference to undefined name ?z? semi3.go:12:3: error: reference to undefined name ?z? semi4.go:11:2: error: unexpected semicolon or newline before ?{? semi4.go:10:6: error: reference to undefined name ?x? semi4.go:12:3: error: reference to undefined name ?z? semi5.go:10:1: error: unexpected semicolon or newline before ?{? semi7.go:11:2: error: unexpected semicolon or newline before ?else? semi7.go:10:5: error: reference to undefined name ?x? slice.go:9:11: error: missing lower bound in slice expression slice.go:9:9: error: reference to undefined name ?y? slice.go:9:12: error: reference to undefined name ?z? R=rsc CC=golang-dev http://codereview.appspot.com/201061
* finalizers; merge package malloc into package runtimeRuss Cox2010-02-036-124/+184
| | | | | | R=r, cw CC=golang-dev http://codereview.appspot.com/198085
* bug252: make ... vs ...T crossing an error, at least for nowRuss Cox2010-02-021-0/+15
| | | | | | R=r CC=golang-dev http://codereview.appspot.com/199066