summaryrefslogtreecommitdiff
path: root/src/cmd/gc/go.h
AgeCommit message (Collapse)AuthorFilesLines
2015-05-02Imported Upstream version 1.4.2upstream/1.4.2upstream-sidTianon Gravi1-0/+1
2015-01-15Imported Upstream version 1.4upstream/1.4Tianon Gravi1-5/+12
2014-08-13Imported Upstream version 1.3.1upstream/1.3.1Michael Stapelberg1-1/+1
2014-06-19Imported Upstream version 1.3upstream/1.3Michael Stapelberg1-57/+69
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg1-9/+50
2013-06-14Imported Upstream version 1.1.1upstream/1.1.1Ingo Oeser1-0/+1
2013-05-14Imported Upstream version 1.1upstream/1.1Michael Stapelberg1-9/+17
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg1-112/+231
2012-06-14Imported Upstream version 1.0.2upstream/1.0.2Ondřej Surý1-3/+3
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-107/+194
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+1279
2011-09-13Imported Upstream version 60Ondřej Surý1-1265/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-12/+17
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-10/+19
2011-06-16Imported Upstream version 57.2upstream/57.2Ondřej Surý1-0/+3
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-0/+5
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-10/+22
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-5/+3
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-18/+30
2010-06-27optimization of static initializationKen Thompson1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/1677049
2010-06-20gc: better error messages for interface failures, conversionsRuss Cox1-2/+2
x.go:13: cannot use t (type T) as type Reader in assignment: T does not implement Reader (Read method requires pointer receiver) x.go:19: cannot use q (type Q) as type Reader in assignment: Q does not implement Reader (missing Read method) have read() want Read() x.go:22: cannot use z (type int) as type Reader in assignment: int does not implement Reader (missing Read method) x.go:24: too many arguments to conversion to complex: complex(1, 3) R=ken2 CC=golang-dev http://codereview.appspot.com/1736041
2010-06-14gc: no more ...Russ Cox1-386/+367
various cleanup, deleting unused code R=ken2 CC=golang-dev http://codereview.appspot.com/1663041
2010-06-12gc: less aggressive name binding, for better line numbers in errorsRuss Cox1-4/+4
Cleans up a few other corner cases too. R=ken2 CC=golang-dev http://codereview.appspot.com/1592045
2010-06-11gc: change -u to require imports to be marked safeRuss Cox1-0/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/1597043
2010-06-09gc: more cleanupRuss Cox1-0/+1
* disallow surrogate pair runes. * diagnose impossible type assertions * eliminate another static buffer. * do not overflow lexbuf. * add -u flag to disable package unsafe. R=ken2 CC=golang-dev http://codereview.appspot.com/1619042
2010-06-08gc: new typechecking rulesRuss Cox1-16/+9
* Code for assignment, conversions now mirrors spec. * Changed some snprint -> smprint. * Renamed runtime functions to separate interface conversions from type assertions: convT2I, assertI2T, etc. * Correct checking of \U sequences. Fixes issue 840. Fixes issue 830. Fixes issue 778. R=ken2 CC=golang-dev http://codereview.appspot.com/1303042
2010-05-20fix issue 798Ken Thompson1-0/+2
cannot allocate an audomatic temp while real registers are allocated. there is a chance that the automatic will be allocated to one of the allocated registers. the fix is to not registerize such variables. R=rsc CC=golang-dev http://codereview.appspot.com/1202042
2010-04-27gc: better windows detectionRuss Cox1-7/+0
R=ken2 CC=golang-dev http://codereview.appspot.com/944043
2010-04-27gc: fix islocalname on windowsRuss Cox1-0/+6
Fixes issue 732. R=ken2 CC=golang-dev http://codereview.appspot.com/956050
2010-03-31gc: implement panic and recoverRuss Cox1-1/+3
R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/831042
2010-03-30gc: add panic and recover (still unimplemented in runtime)Russ Cox1-0/+1
main semantic change is to enforce single argument to panic. runtime: change to 1-argument panic. use String method on argument if it has one. R=ken2, r CC=golang-dev http://codereview.appspot.com/812043
2010-03-24depricate paniclnKen Thompson1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/743041
2010-03-22gc: various map-related bug fixesRuss Cox1-2/+0
Fixes issue 687. R=ken2 CC=golang-dev http://codereview.appspot.com/680042
2010-03-20issue 682Ken Thompson1-0/+1
complex DATA statement fo initialization of complex variables. R=rsc CC=golang-dev http://codereview.appspot.com/634045
2010-03-056g complex type usableKen Thompson1-0/+2
8g and 5g have stubs to ignore complex R=rsc CC=golang-dev http://codereview.appspot.com/257042
2010-02-25gc: implement []int(string) and []byte(string)Russ Cox1-2/+3
R=ken2 CC=golang-dev http://codereview.appspot.com/224060
2010-02-18more complex - constantsKen Thompson1-0/+1
import and export R=rsc CC=golang-dev http://codereview.appspot.com/214050
2010-02-18gc: recursive interface embeddingRuss Cox1-0/+2
Fixes issue 287. R=ken2 CC=golang-dev http://codereview.appspot.com/215048
2010-02-17new types complex, complex64 and complex128Ken Thompson1-7/+21
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-12gc: diagnose invalid array boundsRuss Cox1-0/+2
Fixes issue 587. R=ken2 CC=golang-dev http://codereview.appspot.com/207085
2010-02-01gc: bug246Russ Cox1-0/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/198057
2010-02-01gc: bug242Russ Cox1-2/+2
R=ken2 CC=golang-dev http://codereview.appspot.com/198053
2010-02-01gc: add ... T, rework plain ...Russ Cox1-6/+9
No longer a distinct type; now a property of func types. R=ken2 CC=golang-dev http://codereview.appspot.com/197042
2010-01-25runtime, type switch: eliminate package global name space assumptionRuss Cox1-13/+3
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 Cox1-1/+5
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: cut some dead code, fix 6g -S outputRuss Cox1-1/+0
R=ken2 CC=golang-dev http://codereview.appspot.com/193079
2010-01-22eliminate the package global name space assumption in object filesRuss Cox1-15/+33
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-19cleanup toward eliminating package global name spaceRuss Cox1-2/+6
* 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
2009-12-27gc: various C nits, found by plan 9 compiler.Russ Cox1-2/+1
reported by erik quanstrom. R=ken2 http://codereview.appspot.com/181071
2009-12-18gc: method expressions on concrete typesRuss Cox1-0/+1
R=ken2 http://codereview.appspot.com/180092