summaryrefslogtreecommitdiff
path: root/src/cmd/gc/align.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+653
2011-09-13Imported Upstream version 60Ondřej Surý1-659/+0
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-5/+7
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-2/+2
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-0/+12
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-1/+2
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-2/+0
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-34/+42
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-05-24gc: bug280Russ Cox1-0/+2
Fixes issue 808. R=ken2 CC=golang-dev http://codereview.appspot.com/1273042
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-01gc: be pickier about slice, chan, array, and map sizesRuss Cox1-1/+9
Fixes issue 589. R=ken2 CC=golang-dev http://codereview.appspot.com/1032044
2010-03-31gc: fix alignment on non-amd64Russ Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/870041
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-02-18gc: fix this morning's bug fixRuss Cox1-2/+0
R=ken2 CC=golang-dev http://codereview.appspot.com/216043
2010-02-17new types complex, complex64 and complex128Ken Thompson1-2/+22
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-01gc: bug246Russ Cox1-0/+5
R=ken2 CC=golang-dev http://codereview.appspot.com/198057
2010-02-01gc: add ... T, rework plain ...Russ Cox1-3/+0
No longer a distinct type; now a property of func types. R=ken2 CC=golang-dev http://codereview.appspot.com/197042
2010-01-22eliminate the package global name space assumption in object filesRuss Cox1-1/+1
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>
2009-12-03gc: recursive type errorRuss Cox1-0/+3
Fixes issue 245. R=ken2 http://codereview.appspot.com/164094
2009-11-19gc: reject large channel values at compile timeRuss Cox1-0/+12
Fixes issue 144. R=ken2 CC=agl1 http://codereview.appspot.com/156102
2009-11-15gc: five bug fixes, one better error.Russ Cox1-4/+5
* check for struct literal assignment to private fields. * record, fix crash involving parallel map assignment. * avoid infinite recursion in exportassignok. * make floating point bounds check precise. * avoid crash on invalid receiver. * add context to error about implicit assignment. Fixes issue 86. Fixes issue 88. Fixes issue 158. Fixes issue 174. Fixes issue 201. Fixes issue 204. R=ken2 http://codereview.appspot.com/154144
2009-10-20bug162, over and overRuss Cox1-2/+2
R=ken OCL=35919 CL=35919
2009-10-19bug190.Russ Cox1-21/+131
also eliminate float80 dregs R=ken OCL=35894 CL=35896
2009-09-09composit literal underKen Thompson1-0/+2
init function context. also moved composit literal code from walk.c to sinit.c R=rsc OCL=34503 CL=34503
2009-09-09defining package block names must overrideRuss Cox1-2/+3
universe block names. BUG=2097244 R=ken OCL=34295 CL=34473
2009-09-08write-only variable _Russ Cox1-1/+1
R=ken OCL=34465 CL=34470
2009-09-02fix one bug involving [...] constructors.Russ Cox1-1/+4
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-08-25rename runtime internals to have modern names (array->slice etc)Rob Pike1-1/+3
R=rsc DELTA=444 (179 added, 177 deleted, 88 changed) OCL=33847 CL=33849
2009-08-20len and cap on chansRuss Cox1-3/+2
R=ken OCL=33599 CL=33599
2009-08-19produce diagnostic forRuss Cox1-0/+7
import "fmt" var fmt = 1 R=ken OCL=33556 CL=33561
2009-08-12delete code for forward type declarationsRuss Cox1-7/+0
R=ken OCL=33108 CL=33113
2009-08-07forward declarations not necessary.Russ Cox1-4/+25
still to do: * initializer cycle detection * nicer error for type checking cycles R=ken OCL=32855 CL=32880
2009-07-30typechecking checkpoint.Russ Cox1-0/+8
started to move typechecking to another file. can build entire tree still, but lots of work is duplicated. much to clean up. R=ken OCL=32536 CL=32543
2009-07-29introduce typecheck pass before walkexpr.Russ Cox1-14/+66
not complete but compiler still works. R=ken OCL=32424 CL=32426
2009-07-17another step toward eliminating forward declarations.Russ Cox1-1/+1
introduce NodeList* type in compiler to replace OLIST. this clarifies where lists can and cannot occur. list append and concatenation are now cheap. the _r rules are gone from yacc. rev and unrev are gone. no more lists of lists. the representation of assignments is a bit clunkier. split into OAS (1=1) and OAS2 (2 or more on one side). delete dead chanrecv3 code. delay construction of func types. R=ken OCL=31745 CL=31762
2009-07-076g, 8g: generate data structures for new reflect interface (CL 31107)Russ Cox1-0/+4
R=ken OCL=31122 CL=31278
2009-06-30change alignment rules: roll receiver intoRuss Cox1-2/+2
input parameters, move output parameters into their own struct. R=ken OCL=30954 CL=30966
2009-06-06gc: grammar cleanup:Russ Cox1-4/+3
* no longer distinguishes const, var, type, package names. * all the predefined names are not tokens anymore. R=ken OCL=29326 CL=29985
2009-05-22simplifying grammar: delete LBASETYPE and LACONST.Russ Cox1-1/+1
take 2 R=ken OCL=29304 CL=29306
2009-05-22Automated g4 rollback of changelist 29302.Russ Cox1-1/+1
*** Reason for rollback *** too many files included *** Original change description *** simplifying grammar: delete LBASETYPE and LACONST R=ken OCL=29303 CL=29303
2009-05-22simplifying grammar: delete LBASETYPE and LACONSTRuss Cox1-1/+1
R=ken OCL=29300 CL=29302
2009-04-09change representation of stringsKen Thompson1-3/+5
R=r OCL=27293 CL=27293
2009-03-30move portable code generation (basic statements) to gc.Russ Cox1-0/+32
R=ken OCL=26929 CL=26929
2009-03-30move alignment calculations into gcRuss Cox1-0/+351
R=ken OCL=26914 CL=26914