summaryrefslogtreecommitdiff
path: root/src/cmd/gc
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý39-0/+26646
2011-09-13Imported Upstream version 60Ondřej Surý39-26497/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý14-208/+332
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý21-448/+937
2011-06-16Imported Upstream version 57.2upstream/57.2Ondřej Surý3-0/+9
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý12-88/+266
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý20-177/+392
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý8-33/+73
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý8-25/+58
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý16-135/+314
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý28-576/+1629
2010-06-30gc: do not crash on bad [...]TRuss Cox1-0/+5
Fixes issue 879. R=ken2 CC=golang-dev http://codereview.appspot.com/1678048
2010-06-28compiler fatal error in switch.Ken Thompson1-5/+6
fixes issue 867. R=rsc CC=golang-dev http://codereview.appspot.com/1691045
2010-06-27optimization of static initializationKen Thompson4-128/+202
R=rsc CC=golang-dev http://codereview.appspot.com/1677049
2010-06-23gc: fix crash for nested complex divisionRuss Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/1720043
2010-06-21gc: include struct field tags in type equalityRuss Cox1-1/+13
R=ken2 CC=golang-dev http://codereview.appspot.com/1667048
2010-06-20reflect: add Kind, remove Int8Type, Int8Value, etc.Russ Cox1-13/+19
update other code to match. R=r CC=golang-dev http://codereview.appspot.com/1680044
2010-06-20gc: delete debug printRuss Cox1-1/+0
R=ken2 CC=golang-dev http://codereview.appspot.com/1732043
2010-06-20gc: better error messages for interface failures, conversionsRuss Cox4-33/+86
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-20gc: fix build - subnode not addable in complexgenRuss Cox1-6/+9
R=ken2 CC=golang-dev http://codereview.appspot.com/1677047
2010-06-14gc: no more ...Russ Cox17-838/+497
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 Cox8-82/+111
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 Cox5-3/+22
R=ken2 CC=golang-dev http://codereview.appspot.com/1597043
2010-06-09gc: more cleanupRuss Cox5-39/+100
* 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 Cox14-859/+559
* 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-06-07gc: better error message when ~ operator is foundRobert Griesemer1-1/+1
Fixes issue 844. R=ken2, rsc, ken3 CC=golang-dev http://codereview.appspot.com/1593041
2010-06-07gc: backslash newline is not a legal escape sequence in stringsRobert Griesemer1-4/+0
Fixes issue 827. R=ken2 CC=golang-dev, rsc http://codereview.appspot.com/1592041
2010-06-01gc: fix export of complex typesRuss Cox1-0/+3
R=ken2 CC=golang-dev http://codereview.appspot.com/1442042
2010-05-24gc: more accurate error descriptionRuss Cox1-2/+2
R=ken2 CC=golang-dev http://codereview.appspot.com/1284041
2010-05-24gc: fix shift/reduce conflict in go.y export syntaxRuss Cox2-4/+19
Fixes issue 771. R=ken2 CC=golang-dev http://codereview.appspot.com/1267042
2010-05-24gc: bug277 - new conversion syntaxRuss Cox1-21/+10
R=ken2 CC=golang-dev http://codereview.appspot.com/1220046
2010-05-24gc: bug280Russ Cox1-0/+2
Fixes issue 808. R=ken2 CC=golang-dev http://codereview.appspot.com/1273042
2010-05-24gc: bug278Russ Cox1-0/+3
Fixes issue 804. R=ken2 CC=golang-dev http://codereview.appspot.com/1224045
2010-05-24gc: fix unsafe.Sizeof on ideal constantsRuss Cox1-4/+2
R=ken2 CC=golang-dev http://codereview.appspot.com/1280041
2010-05-20gc: handle use of builtin function outside function callRuss Cox2-1/+7
tweaks & tests of last bug fix too. R=ken2 CC=golang-dev http://codereview.appspot.com/1207044
2010-05-20gc: line number bug fixRuss Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/1243044
2010-05-20fix bug 275Ken Thompson1-5/+11
R=rsc CC=golang-dev http://codereview.appspot.com/1198046
2010-05-20gc: disallow · in Go programsRuss Cox1-1/+1
Fixes issue 793. R=ken2 CC=golang-dev http://codereview.appspot.com/1249043
2010-05-20fix issue 798Ken Thompson2-0/+3
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-05-18gc: Better error when computing remainder of non-intEvan Shaw1-1/+1
Previously the compiler would just emit "internal compiler error" when trying to compute the remainder of floats or complex types. R=rsc CC=golang-dev http://codereview.appspot.com/1243041 Committer: Russ Cox <rsc@golang.org>
2010-05-06gc: distinguish array, slice literal in error messagesRuss Cox1-1/+4
R=ken2 CC=golang-dev http://codereview.appspot.com/1138041
2010-05-03allow data statements for simpleKen Thompson2-7/+5
external variable assignements. R=rsc CC=golang-dev http://codereview.appspot.com/1094041
2010-05-03gc: bug264Russ Cox1-1/+3
Fixes issue 692. R=ken2 CC=golang-dev http://codereview.appspot.com/1092041
2010-05-03gc: bug267Russ Cox1-0/+2
R=ken2 CC=golang-dev http://codereview.appspot.com/1067042
2010-05-03gc: error for nested functions, one semicolon problemRuss Cox1-1/+6
R=ken2 CC=golang-dev http://codereview.appspot.com/1046042
2010-05-01gc: be pickier about slice, chan, array, and map sizesRuss Cox5-44/+54
Fixes issue 589. R=ken2 CC=golang-dev http://codereview.appspot.com/1032044
2010-04-30gc: bug271Russ Cox1-8/+7
Fixes issue 662. R=ken2 CC=golang-dev http://codereview.appspot.com/978043
2010-04-30gc: bug270Russ Cox1-4/+1
Fixes issue 746. R=ken2 CC=golang-dev http://codereview.appspot.com/1040042
2010-04-29gc: never include ( ) on singleton func return typeRuss Cox1-8/+4
Fixes issue 749. R=ken2 CC=golang-dev http://codereview.appspot.com/963043
2010-04-29gc: bug268Russ Cox1-0/+6
Fixes issue 745. R=ken2 CC=golang-dev http://codereview.appspot.com/1008045