summaryrefslogtreecommitdiff
path: root/src/cmd/gc
AgeCommit message (Collapse)AuthorFilesLines
2010-02-18complex constant multiply and divideKen Thompson5-10/+92
R=rsc CC=golang-dev http://codereview.appspot.com/217041
2010-02-18more complex - constantsKen Thompson5-2/+40
import and export R=rsc CC=golang-dev http://codereview.appspot.com/214050
2010-02-18gc: recursive interface embeddingRuss Cox4-23/+73
Fixes issue 287. R=ken2 CC=golang-dev http://codereview.appspot.com/215048
2010-02-17new types complex, complex64 and complex128Ken Thompson7-56/+275
only front-end compiler work. best to do thin in 3 steps 1. frontend 2. backend 3. lib R=rsc CC=golang-dev http://codereview.appspot.com/214042
2010-02-16gc: undo attempt at fixing recursive interface embeddingRuss Cox1-18/+1
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: fix build (signed char bug)Russ Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/210043
2010-02-16gc: disallow NUL byte, catch more invalid UTF-8, testRuss Cox2-31/+31
R=ken2, ken3 CC=golang-dev http://codereview.appspot.com/209041
2010-02-16gc: test & fix handling of very long string constantsRuss Cox2-12/+33
R=ken2 CC=golang-dev http://codereview.appspot.com/207106
2010-02-12gc: diagnose invalid array boundsRuss Cox3-23/+23
Fixes issue 587. R=ken2 CC=golang-dev http://codereview.appspot.com/207085
2010-02-10gc: fix mkopnames and color grep interactionRuss Cox1-0/+4
Fixes issue 406. R=adg CC=golang-dev http://codereview.appspot.com/207053
2010-02-08gc: fix method expression bugRuss Cox1-0/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/206043
2010-02-08*l/*c: add -V flag to display version numberAndrew Gerrand2-0/+6
R=rsc CC=golang-dev http://codereview.appspot.com/204044
2010-02-05bug in const float divideKen Thompson1-2/+15
R=rsc CC=golang-dev http://codereview.appspot.com/204042
2010-02-02bug252: make ... vs ...T crossing an error, at least for nowRuss Cox1-0/+5
R=r CC=golang-dev http://codereview.appspot.com/199066
2010-02-01gc: bug250, bug251 - recursive interface typesRuss Cox2-35/+70
Fixes issue 287. R=ken2 CC=golang-dev http://codereview.appspot.com/199057
2010-02-01gc: bug246Russ Cox4-2/+17
R=ken2 CC=golang-dev http://codereview.appspot.com/198057
2010-02-01gc: bug242Russ Cox4-47/+60
R=ken2 CC=golang-dev http://codereview.appspot.com/198053
2010-02-01gc: final ...T bug for the dayRuss Cox3-1/+4
R=ken2 CC=golang-dev http://codereview.appspot.com/199046
2010-02-01gc: ... T corner casesRuss Cox5-4/+19
more to come, but should suffice for Printf work. R=ken2 CC=golang-dev http://codereview.appspot.com/197044
2010-02-01gc: add ... T, rework plain ...Russ Cox9-78/+164
No longer a distinct type; now a property of func types. R=ken2 CC=golang-dev http://codereview.appspot.com/197042
2010-01-28gc: tweak error messages, avoid internalization settings in bisonRuss Cox3-18/+22
R=r CC=golang-dev http://codereview.appspot.com/194129
2010-01-27gc: implement defer print/println/panic/paniclnRuss Cox3-66/+154
Fixes issue 219. R=ken2, r CC=golang-dev http://codereview.appspot.com/194097
2010-01-26gc: improved syntax errorsRuss Cox6-12/+309
* example-based syntax errors (go.errors) * enable bison's more specific errors and translate grammar token names into tokens like ++ * test cases R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/194085
2010-01-26gc: do not treat .6 different from .a anymoreRuss Cox1-13/+8
R=ken2 CC=golang-dev http://codereview.appspot.com/195050
2010-01-26gc: fix chan <- chan precedence.Russ Cox3-46/+47
also allow func() func(). R=ken2 CC=golang-dev http://codereview.appspot.com/194078
2010-01-25eliminate package global name spaceRuss Cox2-9/+6
R=ken2 CC=golang-dev http://codereview.appspot.com/194071
2010-01-25runtime, type switch: eliminate package global name space assumptionRuss Cox5-150/+191
bonus: type switch now detects multiple uses of identical interface types. bonus: interface types are now order-independent, following the spec. R=ken2 CC=golang-dev http://codereview.appspot.com/194053
2010-01-24gc: record full package paths in runtime type dataRuss Cox5-11/+57
detect compilation of special package runtime with compiler flag instead of package name. R=ken2 CC=golang-dev http://codereview.appspot.com/193080
2010-01-24gc: bug247, reported by robRuss Cox1-38/+40
R=ken2 CC=golang-dev http://codereview.appspot.com/194051
2010-01-24gc: cut some dead code, fix 6g -S outputRuss Cox4-54/+11
R=ken2 CC=golang-dev http://codereview.appspot.com/193079
2010-01-22eliminate the package global name space assumption in object filesRuss Cox14-277/+386
5g/6g/8g: add import statements to export metadata, mapping package path to package name. recognize "" as the path of the package in export metadata. use "" as the path of the package in object symbol names. 5c/6c/8c, 5a/6a/8a: rewrite leading . to "". so that ·Sin means Sin in this package. 5l/6l/8l: rewrite "" in symbol names as object files are read. gotest: handle new symbol names. gopack: handle new import lines in export metadata. Collectively, these changes eliminate the assumption of a global name space in the object file formats. Higher level pieces such as reflect and the computation of type hashes still depend on the assumption; we're not done yet. R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/186263 Committer: Russ Cox <rsc@golang.org>
2010-01-22gc: do not build builtin.c automatically; use golden copy instead.Russ Cox4-17/+17
R=r CC=golang-dev http://codereview.appspot.com/190104 Committer: Russ Cox <rsc@golang.org>
2010-01-19cleanup toward eliminating package global name spaceRuss Cox8-132/+167
* switch to real dot (.) instead of center dot (·) everywhere in object files. before it was half and half depending on where in the name it appeared. * in 6c/6a/etc identifiers, · can still be used but turns into . immediately. * in export metadata, replace package identifiers with quoted strings (still package names, not paths). R=ken2, r CC=golang-dev http://codereview.appspot.com/190076
2010-01-19gc: const debug bool = falseRuss Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/186232
2010-01-18build: move GOOS, GOARCH, GOROOT lookup into central library.Russ Cox1-2/+2
bake default values in during build. R=r CC=golang-dev http://codereview.appspot.com/186173
2010-01-18gc: bug245Russ Cox2-1/+3
Fixes issue 529. R=ken2 CC=golang-dev http://codereview.appspot.com/186215
2010-01-18gc: multiple return value at top-level invoked multiple timesRuss Cox1-0/+6
Fixes issue 402. R=ken2 CC=golang-dev http://codereview.appspot.com/186214
2010-01-18gc: bug243Russ Cox1-1/+3
Fixes issue 481. R=ken2 CC=golang-dev http://codereview.appspot.com/186213
2010-01-18gc: more precise handling of import .Russ Cox3-6/+12
Fixes issue 455. R=ken2 CC=golang-dev http://codereview.appspot.com/186212
2010-01-18gc: be more specific about copy type errorsRuss Cox1-2/+9
Fixes issue 539. R=ken2 CC=golang-dev http://codereview.appspot.com/190043
2010-01-13ignore $GOARCH inside the compiler and linker.Rob Pike1-1/+1
by definition, they know what they are building for. makes it easier to switch architectures when testing. % 6g x.go % 6l x.6 % 6.out "Wed Jan 13 10:57:46 EST 2010" % 8g x.go % 8l x.8 % 8.out "Wed Jan 13 10:57:46 EST 2010" % echo $GOARCH % R=rsc CC=golang-dev http://codereview.appspot.com/186116
2010-01-11gc: clean opnames.hYongjian Xu1-1/+1
R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/181186 Committer: Russ Cox <rsc@golang.org>
2010-01-08gc: bug238Russ Cox2-1/+8
Fixes issue 471. R=ken2 CC=golang-dev http://codereview.appspot.com/181184
2010-01-07gc: bug219, bug239, bug240Russ Cox1-6/+22
Fixes issue 475. R=ken2 CC=golang-dev http://codereview.appspot.com/183157
2010-01-07gc: bug241Russ Cox1-1/+3
Fixes issue 495. R=ken2 CC=golang-dev http://codereview.appspot.com/183156
2009-12-27gc: various C nits, found by plan 9 compiler.Russ Cox5-6/+4
reported by erik quanstrom. R=ken2 http://codereview.appspot.com/181071
2009-12-18gc: method expressions on concrete typesRuss Cox5-18/+39
R=ken2 http://codereview.appspot.com/180092
2009-12-17gc: fix compiler crashRuss Cox1-0/+2
R=ken2 CC=dho http://codereview.appspot.com/179097
2009-12-15gc: fix import name resolutionRuss Cox1-1/+1
Fixes issue 403. R=ken2 http://codereview.appspot.com/180052
2009-12-15gc: bug fixes.Russ Cox2-11/+20
* better error for lookup of unexported field * do not assign "ideal string" type to typed string literal * do not confuse methods and fields during interface check Fixes issue 410. Fixes issue 411. Fixes issue 426. R=ken2 http://codereview.appspot.com/179069