| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Fixes issue 6889
LGTM=rsc
R=gri, rsc
CC=golang-codereviews
https://codereview.appspot.com/85080044
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If you thought gcc -ansi -pedantic was pedantic, just wait
until you meet clang -fsanitize=undefined.
I think this addresses all the reported "errors", but we'll
need another run to be sure.
all.bash still passes.
Update issue 5764
Dave, can you please try again?
R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/13334049
|
|
|
|
|
|
|
|
| |
Fixes issue 3019.
R=golang-dev, rsc
CC=golang-dev, remy
http://codereview.appspot.com/5674044
|
|
|
|
|
|
|
|
| |
Fixes issue 2804.
R=ken2
CC=golang-dev
http://codereview.appspot.com/5652067
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gc/bits.c
. improved format with associated cast;
gc/closure.c
gc/dcl.c
gc/range.c
gc/reflect.c
gc/sinit.c
. dropped unnecessary assignments;
gc/gen.c
. dropped unnecessary assignment;
. added static qualifier to local function definition;
gc/go.h
. added varargck pragmas;
gc/lex.c
. used {} instead of ; in if statement to suppress warning;
. replaced exit(0) with exits(0);
. added compilation conditions for SIGBUS/SIGSEGV;
. dropped unnecessary assignment;
gc/mparith2.c
. dropped four unnecessary assignments/initialisations;
gc/obj.c
. added type cast to local pointer;
gc/pgen.c
. added cast and related print format;
gc/subr.c
. replaced exit(1) with exits("error");
. replaced unlink() with remove();
. renamed local cistrmp() as ucistrmp() to remove conflict with
Plan 9 function by the same name;
gc/swt.c
. added braces instead of ; as empty statment;
gc/typecheck.c
. added static qualifier to local function definition;
. dropped unnecessary assignments;
gc/walk.c
. dropped unnecessary assignments;
. added static qualifier to local function definitions;
R=rsc
CC=golang-dev
http://codereview.appspot.com/4964046
Committer: Russ Cox <rsc@golang.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#include "go.h" (or "gg.h")
becomes
#include <u.h>
#include <libc.h>
#include "go.h"
so that go.y can #include <stdio.h>
after <u.h> but before "go.h".
This is necessary on Plan 9.
R=ken2
CC=golang-dev
http://codereview.appspot.com/4971041
|
|
|
|
|
|
|
|
|
| |
move constant index checking to front end
x[2:1] is a compile-time error now too
R=ken2
CC=golang-dev
http://codereview.appspot.com/1848056
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
out of floating constant multiply
2. added rounding code to "const fix=float"
to allow up to 29 (Mpscale) bits of
slop and still get an exact fixed constant.
fixes issue 931
R=rsc
CC=golang-dev
http://codereview.appspot.com/1692055
|
|
|
|
|
|
|
|
| |
various cleanup, deleting unused code
R=ken2
CC=golang-dev
http://codereview.appspot.com/1663041
|
|
|
|
|
|
| |
R=rsc
CC=golang-dev
http://codereview.appspot.com/204042
|
|
|
|
|
|
| |
R=r
OCL=28319
CL=28319
|
|
|
|
|
|
|
|
| |
close two more bugs.
R=ken
OCL=26226
CL=26226
|
|
|
|
|
|
|
|
|
|
| |
various bug fixes and tests involving constants.
test/const1.go is the major new test case.
R=ken
OCL=26216
CL=26224
|
|
|
|
|
|
| |
R=r
OCL=26152
CL=26152
|
|
|
|
|
|
| |
R=r
OCL=20185
CL=20185
|
|
|
|
|
|
|
| |
R=r,ken
DELTA=66 (52 added, 3 deleted, 11 changed)
OCL=19386
CL=19389
|
|
|
|
|
|
| |
R=r
OCL=18095
CL=18095
|
|
|
|
|
|
| |
R=r
OCL=18077
CL=18077
|
|
|
|
|
|
|
| |
R=ken
DELTA=2 (0 added, 0 deleted, 2 changed)
OCL=16489
CL=16489
|
|
|
|
|
|
| |
R=ken
OCL=16449
CL=16466
|
|
|
|
|
|
| |
R=r
OCL=14641
CL=14641
|
|
R=r
DELTA=1685 (920 added, 765 deleted, 0 changed)
OCL=14030
CL=14030
|