summaryrefslogtreecommitdiff
path: root/src/cmd/gc/const.c
AgeCommit message (Collapse)AuthorFilesLines
2009-03-24^ type(const) now inverts "enough" bitsKen Thompson1-2/+30
^ signed(const) becomes illegal ^ unsigned(const) becomes legal R=r OCL=26697 CL=26697
2009-03-12make 6g constants behave as ken proposes. (i hope.)Russ Cox1-298/+471
various bug fixes and tests involving constants. test/const1.go is the major new test case. R=ken OCL=26216 CL=26224
2009-03-11added bitclear operators &^ and &^=Ken Thompson1-0/+3
R=r OCL=26152 CL=26152
2009-01-30update compiler to new func rulesRuss Cox1-0/+1
R=ken OCL=23958 CL=23961
2009-01-096g cleanup suggested by ken.Russ Cox1-5/+5
remove TPTR wrapper around TMAP, TCHAN, TSTRING. R=ken OCL=22406 CL=22409
2008-12-18cmp [] to nilKen Thompson1-4/+10
R=r OCL=21567 CL=21567
2008-12-14even more code improvementKen Thompson1-0/+18
R=r OCL=21160 CL=21160
2008-12-12bug104Ken Thompson1-16/+26
R=r OCL=21082 CL=21082
2008-12-09bug127Ken Thompson1-3/+10
R=r OCL=20874 CL=20874
2008-12-02truncating of float constants whenKen Thompson1-17/+36
used in float64 or float32 contexts R=r OCL=20297 CL=20297
2008-12-01multi precision floating pointKen Thompson1-2/+20
R=r OCL=20185 CL=20185
2008-10-29shift bugsKen Thompson1-1/+1
R=r OCL=18095 CL=18095
2008-10-29the end of life as we know itKen Thompson1-2/+2
int is new type R=r OCL=18023 CL=18023
2008-10-16diagnose various conversion problemsRuss Cox1-15/+13
R=ken OCL=17320 CL=17320
2008-10-15interface on arbitrary typesKen Thompson1-5/+23
global signatures for basic types R=r OCL=17238 CL=17240
2008-10-14bug with struct-type { 1 }Ken Thompson1-0/+1
R=r OCL=17096 CL=17096
2008-10-06silence gcc warning - initialize two variablesRuss Cox1-0/+3
R=ken OCL=16550 CL=16550
2008-10-03silence gcc warningsRuss Cox1-1/+0
R=ken OCL=16449 CL=16466
2008-09-04bugs 29, 61, 62, 74Ken Thompson1-4/+2
fixedbugs 49 now (correctly) fails bugs 32, 41, 68, 77 shouldnt be bugs R=r OCL=14842 CL=14842
2008-09-04rewriting bugsKen Thompson1-0/+11
R=r OCL=14810 CL=14810
2008-08-29fix type of (1<<x)Ken Thompson1-2/+12
R=r OCL=14656 CL=14656
2008-08-12fixed bugs in const/caseKen Thompson1-6/+14
R=r DELTA=138 (75 added, 12 deleted, 51 changed) OCL=14129 CL=14131
2008-08-09mp fixed arithKen Thompson1-13/+23
R=r DELTA=149 (80 added, 62 deleted, 7 changed) OCL=14029 CL=14029
2008-08-08mp constantsKen Thompson1-60/+87
R=r DELTA=381 (142 added, 26 deleted, 213 changed) OCL=14011 CL=14016
2008-08-03make 6a, 6c, 6g, 6l, libmach_amd64 build on 64-bit gcc.Russ Cox1-2/+2
these guys really really want long to be 32-bits, so ,s/long/int32/ (and then manual fixup). still passes all tests. (i started out looking for just those longs that needed to be int32 instead, and it was just too hard to track them down one by one.) the longs were rare enough that i don't think it will cause integration problems. R=ken OCL=13787 CL=13789
2008-07-27random bug fixesKen Thompson1-0/+3
R=r DELTA=18 (6 added, 1 deleted, 11 changed) OCL=13504 CL=13504
2008-07-20start of selectKen Thompson1-3/+7
random bugs fixed SVN=128149
2008-07-05random little bugsKen Thompson1-6/+10
SVN=126049
2008-06-17more mapsKen Thompson1-1/+11
more semi-colons type assignment of constants SVN=123278
2008-06-17SVN=123249Ken Thompson1-5/+9
2008-06-15now checks for lvalue/rvalue context ofKen Thompson1-6/+16
expressions. start of generics for calling builtin functions start of map type 'any' demoted from reserved word to type SVN=122808
2008-06-04Add compiler source to new directory structureRob Pike1-0/+370
SVN=121164