summaryrefslogtreecommitdiff
path: root/src/cmd/gc
AgeCommit message (Collapse)AuthorFilesLines
2009-09-29disallow parens around type in struct literal syntax,Russ Cox1-2/+17
per discussion with gri. R=ken OCL=35108 CL=35108
2009-09-28disallow interface { x, y() }Russ Cox1-10/+9
R=ken OCL=35042 CL=35044
2009-09-24comparisons have type boolRuss Cox1-6/+6
R=ken OCL=34995 CL=34997
2009-09-21ideal bools and related fixesRuss Cox10-37/+73
R=ken OCL=34859 CL=34865
2009-09-17move static init code from 6g into gc.Russ Cox2-0/+156
hook up to 8g and 5g too. R=ken OCL=34768 CL=34768
2009-09-17check for unused importsRuss Cox4-25/+64
R=ken OCL=34732 CL=34756
2009-09-15make 6g match spec:Russ Cox1-8/+13
no semicolon allowd after package clause. semicolon allowed after import statement. no doubled semicolons allowed R=ken OCL=34674 CL=34674
2009-09-15declared and not used; this time for sureRuss Cox4-6/+17
R=ken OCL=34657 CL=34657
2009-09-14declared and not used error, but disabled.Russ Cox5-6/+20
fix some bugs involving _. R=ken OCL=34621 CL=34621
2009-09-09composit literal underKen Thompson4-485/+542
init function context. also moved composit literal code from walk.c to sinit.c R=rsc OCL=34503 CL=34503
2009-09-09a few more blank testsRuss Cox3-8/+12
R=ken OCL=34500 CL=34500
2009-09-09check type of string/map/array index expressionsRuss Cox1-0/+6
R=ken OCL=34478 CL=34480
2009-09-09error message fixesRuss Cox2-3/+6
x == nil x.go:5: cannot use nil as bool c := x.(type); x.go:88: use of .(type) outside type switch R=ken OCL=34476 CL=34476
2009-09-09defining package block names must overrideRuss Cox9-91/+126
universe block names. BUG=2097244 R=ken OCL=34295 CL=34473
2009-09-09update type switch to match spec.Russ Cox4-58/+91
R=ken OCL=34471 CL=34471
2009-09-08write-only variable _Russ Cox9-16/+129
R=ken OCL=34465 CL=34470
2009-09-08init context for composit literalsKen Thompson3-1/+48
R=rsc OCL=34462 CL=34462
2009-09-08pass Type* to makechan and makemap so thatRuss Cox3-13/+10
they can get the official alignment out of there instead of guessing. R=ken OCL=34450 CL=34450
2009-09-07maps in static initializationKen Thompson1-3/+124
R=rsc OCL=34434 CL=34434
2009-09-06more static initKen Thompson1-6/+87
almost done R=rsc OCL=34422 CL=34422
2009-09-05composit literalsKen Thompson6-101/+194
plateau - more to come R=rsc OCL=34413 CL=34413
2009-09-03stop using filename for disambiguation within a package.Russ Cox5-35/+5
R=ken OCL=34339 CL=34341
2009-09-02fix one bug involving [...] constructors.Russ Cox3-2/+8
added iant's bug202 (in main code) and ken's bug203 (in init function). bug187 remains at large. R=ken OCL=34293 CL=34293
2009-09-02the last bug involving type hashesRuss Cox7-58/+358
R=ken OCL=34244 CL=34249
2009-09-01type switch bug involving function parameter namesRuss Cox2-4/+8
R=ken OCL=34232 CL=34232
2009-09-01catch package net import "net" for releaseRuss Cox1-0/+10
R=ken OCL=34205 CL=34207
2009-08-30cleanup getting ready for static initKen Thompson3-482/+21
R=rsc OCL=34090 CL=34090
2009-08-27clean up ideal handling; reject attemptsRuss Cox4-31/+33
to write type descriptors for ideal types R=ken OCL=33958 CL=33958
2009-08-26bug slicing array - cap is hugeKen Thompson1-1/+1
R=rsc OCL=33936 CL=33936
2009-08-25rename runtime internals to have modern names (array->slice etc)Rob Pike5-40/+42
R=rsc DELTA=444 (179 added, 177 deleted, 88 changed) OCL=33847 CL=33849
2009-08-24bug132Russ Cox1-1/+10
R=ken OCL=33792 CL=33803
2009-08-24gc: handle iface == nil in back endRuss Cox1-2/+10
R=ken OCL=33778 CL=33781
2009-08-24bug197Russ Cox4-2/+15
R=ken OCL=33765 CL=33765
2009-08-24bug189Russ Cox1-0/+2
R=ken OCL=33745 CL=33745
2009-08-23half of bug193Russ Cox2-2/+17
R=ken OCL=33730 CL=33730
2009-08-21fix bug195Russ Cox1-1/+1
R=ken OCL=33700 CL=33700
2009-08-21fix crash in bug194; add bug196Russ Cox1-2/+2
R=ken OCL=33694 CL=33697
2009-08-20symbol bugs.Russ Cox2-0/+12
do not emit unreachable data symbols. R=austin DELTA=103 (71 added, 4 deleted, 28 changed) OCL=33325 CL=33622
2009-08-20len and cap on chansRuss Cox1-3/+2
R=ken OCL=33599 CL=33599
2009-08-19produce diagnostic forRuss Cox5-9/+11
import "fmt" var fmt = 1 R=ken OCL=33556 CL=33561
2009-08-19try to do better line number reportingRuss Cox6-120/+102
in the presence of yacc lookahead. better but still not perfect R=ken OCL=33541 CL=33541
2009-08-19fix import dot bugRuss Cox2-2/+1
R=ken OCL=33526 CL=33528
2009-08-136g/6l: add go type information to symbol table.Russ Cox3-3/+12
archive size +70% binary size +30% old wreck.mtv=; ls -l /Users/rsc/bin/{godoc,gofmt} -rwxr-xr-x 1 rsc eng 1487922 Aug 13 13:21 /Users/rsc/bin/godoc -rwxr-xr-x 1 rsc eng 995995 Aug 13 13:21 /Users/rsc/bin/gofmt wreck.mtv=; du -sh $GOROOT/pkg/ 9.5M /home/rsc/go/pkg/ wreck.mtv=; new wreck.mtv=; ls -l /Users/rsc/bin/{godoc,gofmt} -rwxr-xr-x 1 rsc eng 2014390 Aug 13 14:25 /Users/rsc/bin/godoc -rwxr-xr-x 1 rsc eng 1268705 Aug 13 14:25 /Users/rsc/bin/gofmt wreck.mtv=; du -sh $GOROOT/pkg 16M /home/rsc/go/pkg wreck.mtv=; R=ken OCL=33217 CL=33220
2009-08-12mechanism for putting go types into 6.out symbol table.Russ Cox1-2/+1
no types yet. R=ken OCL=33142 CL=33146
2009-08-12rm outfile if 6g exits with an errorRuss Cox1-3/+6
R=ken OCL=33134 CL=33141
2009-08-12bug188 - sort(x)Russ Cox2-1/+9
R=ken OCL=33123 CL=33123
2009-08-12delete code for forward type declarationsRuss Cox9-170/+6
R=ken OCL=33108 CL=33113
2009-08-12whole-package compilationRuss Cox7-83/+204
R=ken OCL=33063 CL=33095
2009-08-11bug186 - f(iota)Russ Cox3-4/+9
R=ken OCL=33051 CL=33051
2009-08-10fix indirect errorRuss Cox2-2/+4
x.go:3: invalid indirect of X (type int) was x.go:3: invalid indirect of nil R=ken OCL=33008 CL=33008