gcc/libgo/go
Ian Lance Taylor 0e68d70b7f compiler: optimize 0,1,2-case select statement
For a select statement with zero-, one-, or two-case with a
    default case, we can generate simpler code instead of calling the
    generic selectgo. A zero-case select is just blocking the
    execution. A one-case select is mostly just executing the case. A
    two-case select with a default case is a non-blocking send or
    receive. We add these special cases for lowering a select
    statement.
    
    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/184998

From-SVN: r273034
2019-07-04 02:20:37 +00:00
..
archive libgo: fix build on AIX 2019-03-19 14:00:59 +00:00
bufio libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
builtin libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
bytes libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
cmd cmd/go: silence ar with D flag failures 2019-06-26 00:04:36 +00:00
compress libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
container libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
context libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
crypto libgo: update to Go 1.12 release 2019-02-26 15:38:12 +00:00
database/sql libgo: update to Go 1.12 release 2019-02-26 15:38:12 +00:00
debug libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
encoding libgo: update to Go1.12rc1 2019-02-26 01:00:39 +00:00
errors
expvar libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
flag libgo: update to Go1.12rc1 2019-02-26 01:00:39 +00:00
fmt libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
go go/internal/gccgoimporter: ignore unexported and imported names 2019-06-07 00:07:50 +00:00
golang.org/x/tools golang.org/x/tools/go/analysis: pass "gccgo" to types.SizesFor 2019-01-22 15:43:40 +00:00
hash libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
html libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
image libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
index/suffixarray libgo: update to Go 1.11 2018-09-24 21:46:21 +00:00
internal libgo: update to Go 1.12.2 2019-04-08 18:36:25 +00:00
io libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
log libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
math libgo: update to Go1.12rc1 2019-02-26 01:00:39 +00:00
mime libgo: add hurd build tags 2019-02-01 21:57:36 +00:00
net libgo: update to Go 1.12.2 2019-04-08 18:36:25 +00:00
os os/user: disable TestGroupIds for AIX 2019-05-03 17:15:54 +00:00
path libgo: update to Go 1.12.1 2019-03-18 20:27:59 +00:00
plugin libgo: add hurd build tags 2019-02-01 21:57:36 +00:00
reflect compiler, runtime, reflect: generate unique type descriptors 2019-06-03 23:37:04 +00:00
regexp libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
runtime compiler: optimize 0,1,2-case select statement 2019-07-04 02:20:37 +00:00
sort libgo: update to Go1.12rc1 2019-02-26 01:00:39 +00:00
strconv libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
strings libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
sync libgo: update to Go1.12rc1 2019-02-26 01:00:39 +00:00
syscall re PR go/90614 (gcc-9.1.0/libgo/go/syscall/wait.c:54:22: error: unused parameter ‘w’ [-Werror=unused-parameter] Continued (uint32_t *w)) 2019-05-27 00:10:34 +00:00
testdata libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
testing libgo: update to Go1.12rc1 2019-02-26 01:00:39 +00:00
text libgo: update to Go 1.12.1 2019-03-18 20:27:59 +00:00
time libgo: add hurd build tags 2019-02-01 21:57:36 +00:00
unicode libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00