1
0
mirror of https://github.com/golang/go synced 2024-09-25 11:10:13 -06:00
go/src
Keith Randall 9774fa6f40 cmd/compile: fix precedence order bug
&^ and << have equal precedence.  Add some parentheses to make sure
we shift before we andnot.

Fixes #27829

Change-Id: Iba8576201f0f7c52bf9795aaa75d15d8f9a76811
Reviewed-on: https://go-review.googlesource.com/136899
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-09-24 17:43:55 +00:00
..
archive archive/tar: remore redundant parens in type expressions 2018-08-21 01:47:17 +00:00
bufio bufio: avoid rescanning buffer multiple times in ReadSlice 2018-08-22 17:06:28 +00:00
builtin builtin: document when len and cap are constant 2018-09-18 21:52:11 +00:00
bytes strings, bytes: optimize function Index 2018-09-13 16:21:55 +00:00
cmd cmd/compile: fix precedence order bug 2018-09-24 17:43:55 +00:00
compress cmd/link,compress/zip,image/png: use binary.{Big,Little}Endian methods 2018-09-11 15:14:56 +00:00
container container/heap: clarify that Remove returns the removed element 2018-08-20 18:05:11 +00:00
context context: don't talk about tools that don't exist 2018-08-22 22:11:24 +00:00
crypto crypto/x509: allow ":" in Common Name hostnames 2018-09-07 17:28:27 +00:00
database/sql database/sql: fix Rows.Columns() documentation 2018-09-03 16:28:42 +00:00
debug debug/elf: add R_RISCV_32_PCREL relocation 2018-09-07 11:07:39 +00:00
encoding encoding/json: use panics for phase errors 2018-09-12 07:50:10 +00:00
errors
expvar expvar: fix name of Var interface 2018-09-06 05:43:52 +00:00
flag
fmt fmt: fix usage of sync.Pool 2018-09-19 18:01:04 +00:00
go go/types: don't report cycle error if clearer error follows 2018-09-17 23:08:56 +00:00
hash hash/crc64: lazily initialize slice8Tables 2018-08-21 04:50:21 +00:00
html html/template: add an example for the Delims method 2018-08-30 19:36:15 +00:00
image image/png: minor cleanup of a few tests 2018-09-16 23:31:17 +00:00
index/suffixarray
internal internal/poll: improve Splice comments 2018-09-16 03:22:13 +00:00
io ghchinoy: add example for ioutil.WriteFile 2018-08-30 18:38:34 +00:00
log
math cmd/compile: optimize math.Float64(32)bits and math.Float64(32)frombits on arm64 2018-09-17 20:49:04 +00:00
mime mime: derestrict value backslash unescaping for all encodings 2018-09-24 16:13:59 +00:00
net net: don't use splice for unix{packet,gram} connections 2018-09-24 17:25:15 +00:00
os os: add ModeCharDevice to ModeType 2018-09-13 09:52:57 +00:00
path path/filepath: correct symlink eval for symlink at root 2018-09-13 21:34:56 +00:00
plugin plugin: remove unused func 2018-08-22 16:29:03 +00:00
reflect reflect: use a bigger object when we need a finalizer to run 2018-08-24 22:17:54 +00:00
regexp regexp: fix incorrect name in Match doc comment 2018-09-13 16:29:06 +00:00
runtime runtime: support windows/arm 2018-09-18 22:18:23 +00:00
sort
strconv strconv: add example for IsGraphic 2018-09-03 05:45:52 +00:00
strings strings, bytes: optimize function Index 2018-09-13 16:21:55 +00:00
sync cmd/vet,sync: check lock values more precisely 2018-07-14 06:48:21 +00:00
syscall syscall: replace lstat, lchown, stat to please Android O 2018-09-24 17:08:51 +00:00
testing testing: exit with error if testing.Short is called before flag.Parse 2018-08-20 21:51:11 +00:00
text text/template: simplify line tracking in the lexer 2018-09-05 21:27:04 +00:00
time time: return ENOENT from androidLoadTzinfoFromTzdata if zone not found 2018-09-15 14:58:35 +00:00
unicode
unsafe
vendor/golang_org/x vendor: update golang.org/x/net/http2/hpack 2018-08-01 20:05:31 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00
make.bat src/make.bat: add missing go.exe extension 2018-08-25 22:42:46 +00:00
Make.dist
make.rc cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00
naclmake.bash all: use consistent shebang line across all shell scripts 2018-08-22 16:41:11 +00:00
nacltest.bash all: use consistent shebang line across all shell scripts 2018-08-22 16:41:11 +00:00
race.bash runtime/cgo: Add initial NetBSD Thread Sanitizer support 2018-07-10 23:14:31 +00:00
race.bat cmd/dist: fix compilation on windows 2018-08-25 22:39:17 +00:00
run.bash cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00
run.bat cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00
run.rc cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00