1
0
mirror of https://github.com/golang/go synced 2024-11-20 04:04:41 -07:00
go/src/cmd
Rémy Oudompheng bcea0dd1d0 cmd/gc: fix inlining internal error with T.Method calls.
The compiler was confused when inlining a T.Method(f()) call
where f returns multiple values: support for this was marked
as TODO.

Variadic calls are not supported but are not inlined either.
Add a test preventively for that case.

Fixes #4167.

R=golang-dev, rsc, lvd
CC=golang-dev
https://golang.org/cl/6871043
2012-12-03 13:39:40 +01:00
..
5a cmd/gc, cmd/ld: struct field tracking 2012-11-02 00:17:21 -04:00
5c cmd/5c: fix dataflag annotation 2012-09-25 14:42:44 +08:00
5g cmd/5g, cmd/8g: fix internal error on 64-bit indices statically bounded 2012-11-27 21:37:38 +01:00
5l cmd/ld: fix build on elf systems 2012-11-13 13:12:11 -05:00
6a cmd/gc, cmd/ld: struct field tracking 2012-11-02 00:17:21 -04:00
6c cmd/6c, cmd/8c: use signed char explicitly in mul.c 2012-11-09 21:06:45 +01:00
6g cmd/gc: add division rewrite to walk pass. 2012-11-26 23:45:22 +01:00
6l cmd/6l, cmd/8l: emit no-ops to separate zero-stack funcs from nosplits. 2012-11-26 21:51:48 +01:00
8a cmd/gc, cmd/ld: struct field tracking 2012-11-02 00:17:21 -04:00
8c cmd/6c, cmd/8c: use signed char explicitly in mul.c 2012-11-09 21:06:45 +01:00
8g cmd/5g, cmd/8g: fix internal error on 64-bit indices statically bounded 2012-11-27 21:37:38 +01:00
8l cmd/6l, cmd/8l: emit no-ops to separate zero-stack funcs from nosplits. 2012-11-26 21:51:48 +01:00
addr2line runtime/pprof: support OS X CPU profiling 2012-02-28 16:18:24 -05:00
api cmd/api: speed up API check by 2x, caching parser.ParseFile calls 2012-11-19 13:50:20 -08:00
cc libmach, cmd/cc, cmd/cov, cmd/ld, cmd/prof: check malloc return value 2012-11-27 03:05:46 +08:00
cgo cmd/cgo: fix alignment of bool. 2012-11-21 13:04:38 -08:00
cov libmach, cmd/cc, cmd/cov, cmd/ld, cmd/prof: check malloc return value 2012-11-27 03:05:46 +08:00
dist lib9, cmd/dist, cmd/5l: embed GOARM into cmd/5l and auto detect GOARM 2012-10-22 14:26:36 +08:00
fix go/format: Package format implements standard formatting of Go source. 2012-11-27 10:29:49 -08:00
gc cmd/gc: fix inlining internal error with T.Method calls. 2012-12-03 13:39:40 +01:00
go cmd/go: fix typo in comment 2012-11-24 11:25:17 -08:00
godoc cmd/godoc: fix godoc net/http on windows 2012-12-01 00:42:50 +08:00
gofmt gofmt: simplify slices of the form s[a : len(s)] to s[a:] 2012-10-31 11:48:55 -07:00
ld libmach, cmd/cc, cmd/cov, cmd/ld, cmd/prof: check malloc return value 2012-11-27 03:05:46 +08:00
nm gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
objdump runtime/pprof: support OS X CPU profiling 2012-02-28 16:18:24 -05:00
pack cmd/pack: rename __.SYMDEF to __.GOSYMDEF 2012-09-13 10:26:21 -04:00
prof libmach, cmd/cc, cmd/cov, cmd/ld, cmd/prof: check malloc return value 2012-11-27 03:05:46 +08:00
vet gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
yacc cmd/yacc: allow utf-8 token values 2012-09-13 13:59:00 -07:00