1
0
mirror of https://github.com/golang/go synced 2024-11-20 08:54:40 -07:00
go/src/cmd/gc
Rémy Oudompheng 1dcf658f6d cmd/gc: remove an incorrect assertion in escape analysis.
A fatal error used to happen when escassign-ing a multiple
function return to a single node. However, the situation
naturally appears when using "go f(g())" or "defer f(g())",
because g() is escassign-ed to sink.

Fixes #4529.

R=golang-dev, lvd, minux.ma, rsc
CC=golang-dev
https://golang.org/cl/6920060
2012-12-20 23:27:28 +01:00
..
align.c cmd/gc: more graceful handling of invalid fields in widstruct. 2012-10-07 21:46:10 +02:00
bisonerrors
bits.c
builtin.c cmd/gc, runtime: avoid unnecessary copy on type assertion. 2012-11-06 20:40:40 +01:00
closure.c cmd/gc: track parameter flow, step 0: synthesize name nodes for anonymous PPARAMOUTs without breaking anything. 2012-10-22 10:09:52 +02:00
const.c cmd/gc: fix defaultlit of shifts used in interface context. 2012-12-15 19:37:59 +01:00
cplx.c cmd/gc: contiguous loop layout 2012-05-30 18:07:39 -04:00
dcl.c cmd/gc: annotate local variables with unique ids for inlining 2012-11-07 09:59:19 -05:00
doc.go race: gc changes 2012-10-02 10:05:46 +04:00
esc.c cmd/gc: remove an incorrect assertion in escape analysis. 2012-12-20 23:27:28 +01:00
export.c cmd/gc: do not export useless private symbols. 2012-12-08 14:43:00 +01:00
fmt.c cmd/gc: annotate local variables with unique ids for inlining 2012-11-07 09:59:19 -05:00
gen.c cmd/gc: fix typos in clearslim. 2012-11-13 07:08:29 +01:00
go.errors gc: improve error message for composite literals with unexpected newlines 2012-04-02 11:00:55 -04:00
go.h cmd/gc: add GOEXPERIMENT=zerostack to clear stack on function entry 2012-12-17 14:32:26 -05:00
go.y cmd/gc: Give better line numbers for errors in composite literals. 2012-12-12 16:43:54 +01:00
init.c
inl.c cmd/gc: fix inlining internal error with T.Method calls. 2012-12-03 13:39:40 +01:00
lex.c cmd/gc: add GOEXPERIMENT=zerostack to clear stack on function entry 2012-12-17 14:32:26 -05:00
Makefile build: update Makefile to track source code dependencies better 2012-03-13 03:31:11 +08:00
md5.c
md5.h
mkbuiltin
mkbuiltin1.c
mkopnames
mparith1.c build: fix various 'set and not used' for Plan 9 2012-09-17 17:25:26 -04:00
mparith2.c
mparith3.c
obj.c cmd/gc: prepare for 64-bit ints 2012-09-24 14:59:44 -04:00
order.c
pgen.c cmd/gc: add GOEXPERIMENT=zerostack to clear stack on function entry 2012-12-17 14:32:26 -05:00
racewalk.c cmd/gc: racewalk: fix compiler crash 2012-12-17 12:55:41 +04:00
range.c test/fixedbugs/bug454.go: add a test for CL 6564052 2012-09-29 23:23:56 +08:00
reflect.c cmd/gc: prevent ngotype from allocating. 2012-12-09 19:27:23 +01:00
runtime.go cmd/gc, runtime: avoid unnecessary copy on type assertion. 2012-11-06 20:40:40 +01:00
select.c cmd/gc: fix strict tree property for AST for OAS2RECV nodes. 2012-10-22 10:01:14 +02:00
sinit.c cmd/gc: check malloc return value 2012-11-26 22:03:31 +11:00
subr.c cmd/gc: prevent ngotype from allocating. 2012-12-09 19:27:23 +01:00
swt.c cmd/gc: add missing conversion from bool to interface in switches. 2012-09-17 21:29:10 +02:00
typecheck.c cmd/gc: remove bad check for BADWIDTH 2012-12-11 17:36:10 +01:00
unsafe.c
unsafe.go
walk.c gc: avoid meaningless constant overflow error for inverted slice range 2012-12-05 15:46:45 -08:00
y.tab.c cmd/gc: Give better line numbers for errors in composite literals. 2012-12-12 16:43:54 +01:00
y.tab.h cmd/gc: Give better line numbers for errors in composite literals. 2012-12-12 16:43:54 +01:00
yerr.h cmd/gc: Give better line numbers for errors in composite literals. 2012-12-12 16:43:54 +01:00