1
0
mirror of https://github.com/golang/go synced 2024-11-22 19:14:53 -07:00
go/test
Ian Lance Taylor ae5e791ed2 cmd/gc: save local var list before inlining
This avoids problems with inlining in genwrappers, which
occurs after functions have been compiled.  Compiling a
function may cause some unused local vars to be removed from
the list.  Since a local var may be unused due to
optimization, it is possible that a removed local var winds up
beingused in the inlined version, in which case hilarity
ensues.

Fixes #5515.

R=golang-dev, khr, dave
CC=golang-dev
https://golang.org/cl/10210043
2013-06-11 20:23:21 -07:00
..
bench test/bench/shootout/timing.log: update to Go 1.1 2013-05-23 17:57:28 -07:00
bugs
chan all: fix typos 2013-06-09 21:50:24 +08:00
ddd2.dir
dwarf
fixedbugs cmd/gc: save local var list before inlining 2013-06-11 20:23:21 -07:00
import2.dir
import4.dir
interface
ken
method4.dir
safe
stress test/stress: fix a goroutine leak in threadRing stresstest 2013-06-03 07:07:31 -07:00
syntax
64bit.go cmd/gc: Error out on division by constant zero. 2013-01-30 20:21:08 +01:00
235.go
alias1.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
alias.go
append.go
args.go
assign1.go
assign.go
bigalg.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
bigmap.go
blank1.go cmd/gc: disallow selectors to the blank identifier 2013-03-04 17:01:42 +01:00
blank.go exp/ssa/interp: (#6 of 5): test interpretation of SSA form of $GOROOT/test/*.go. 2013-02-21 12:48:38 -05:00
bom.go
bombad.go
bounds.go
chancap.go
char_lit1.go
char_lit.go
closedchan.go
closure.go
cmp6.go
cmp.go exp/ssa/interp: (#6 of 5): test interpretation of SSA form of $GOROOT/test/*.go. 2013-02-21 12:48:38 -05:00
cmplx.go cmd/gc: reject complex calls with mismatched argument types. 2013-03-11 22:55:14 +01:00
cmplxdivide1.go
cmplxdivide.c
cmplxdivide.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
complit1.go
complit.go
compos.go
const1.go cmd/gc: reject non-Go constants 2013-02-01 23:10:02 -05:00
const2.go
const3.go
const4.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
const5.go cmd/gc: reject non-Go constants 2013-02-01 23:10:02 -05:00
const6.go cmd/gc: update ideal bool rules to match latest spec 2013-02-03 01:44:03 -05:00
const.go exp/ssa/interp: (#6 of 5): test interpretation of SSA form of $GOROOT/test/*.go. 2013-02-21 12:48:38 -05:00
convert1.go
convert3.go
convert.go
convlit1.go
convlit.go
convT2X.go
copy.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
crlf.go
ddd1.go
ddd2.go
ddd.go
decl.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
declbad.go
defer.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
deferprint.go
deferprint.out
divide.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
empty.go
env.go
eof1.go
eof.go
errchk test/errchk: use "#!/usr/bin/env perl" shebang line 2013-05-23 04:41:22 +08:00
escape2.go test: add test for issue 3888. 2013-05-22 22:45:38 +02:00
escape3.go
escape4.go
escape5.go
escape.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
float_lit.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
floatcmp.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
for.go
func1.go cmd/gc: ensure unique parameter and result names in function types 2013-03-15 15:24:13 -04:00
func2.go
func3.go
func4.go
func5.go
func6.go
func7.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
func8.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
func.go
funcdup2.go cmd/gc: ensure unique parameter and result names in function types 2013-03-15 15:24:13 -04:00
funcdup.go cmd/gc: ensure unique parameter and result names in function types 2013-03-15 15:24:13 -04:00
gc1.go
gc2.go
gc.go
golden.out
goprint.go test: make goprint.go wait longer for go its routine to execute 2013-04-12 16:04:19 -07:00
goprint.out
goto.go
helloworld.go
helloworld.out
if.go
import1.go
import2.go
import4.go
import5.go
import.go
index0.go
index1.go
index2.go
index.go cmd/gc: accept ideal float as indices. 2013-03-22 00:38:23 +01:00
indirect1.go
indirect.go
init1.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
init.go
initcomma.go
initialize.go
initializerr.go
int_lit.go
intcvt.go
iota.go
label1.go
label.go
linkx.go
literal.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
mallocfin.go
map1.go
map.go test: fix flaky NaN-key map complexity test 2013-04-07 11:56:15 -07:00
mapnan.go test: fix mapnan.go build tag 2013-04-08 00:09:35 -07:00
method1.go
method2.go
method3.go
method4.go
method5.go cmd/gc: implement method values 2013-03-20 17:11:09 -04:00
method.go test: a number of fixes. 2013-02-11 18:20:52 -05:00
named1.go
named.go
nil.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
nilptr.go cmd/5g, cmd/6g, cmd/8g: more nil ptr to large struct checks 2013-04-24 08:13:01 -07:00
nul1.go
parentype.go
peano.go
printbig.go
printbig.out
range.go test: a number of fixes. 2013-02-11 18:20:52 -05:00
recover1.go
recover2.go
recover3.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
recover.go exp/ssa/interp: (#6 of 5): test interpretation of SSA form of $GOROOT/test/*.go. 2013-02-21 12:48:38 -05:00
rename1.go
rename.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
reorder2.go
reorder.go test: a number of fixes. 2013-02-11 18:20:52 -05:00
return.go cmd/gc: fix line number for 'missing return' in closure 2013-03-22 17:50:29 -04:00
rotate0.go
rotate1.go
rotate2.go
rotate3.go
rotate.go
run
run.go test/run: use correct $PWD to make os.Getwd less expensive 2013-02-14 14:21:26 -05:00
rune.go
runtime.go
shift1.go test: more systematic shift tests 2013-03-21 16:56:59 -07:00
shift2.go
sieve.go
sigchld.go undo CL 10017045 / 6ec8c49421a0 2013-06-04 21:51:22 -07:00
sigchld.out
simassign.go
sinit.go
sizeof.go test: correct sizeof.go. 2013-06-02 19:10:11 +02:00
solitaire.go
stack.go
string_lit.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00
stringrange.go
struct0.go
switch3.go
switch4.go cmd/gc: disallow fallthrough in final case of switch 2013-03-15 00:35:09 -04:00
switch.go cmd/gc: disallow fallthrough in final case of switch 2013-03-15 00:35:09 -04:00
testlib test: add support for build tags. 2013-01-28 21:29:45 +01:00
torture.go
turing.go
typecheck.go
typeswitch1.go
typeswitch2.go
typeswitch3.go
typeswitch.go
undef.go
utf.go
varerr.go
varinit.go
zerodivide.go test: ensure all failing tests exit nonzero. 2013-02-12 13:17:49 -05:00