]> Cypherpunks.ru repositories - gostls13.git/commit
if take address of local, move to heap.
authorRuss Cox <rsc@golang.org>
Fri, 30 Jan 2009 01:38:58 +0000 (17:38 -0800)
committerRuss Cox <rsc@golang.org>
Fri, 30 Jan 2009 01:38:58 +0000 (17:38 -0800)
commit391425ae558e850783e78806a528bb8b2ccec578
tree346d845fb120717e657f7a2919d374290fe02f81
parent699721a0ea2efbf7bd241d9e66a6a550b7c51d69
if take address of local, move to heap.
heuristic to not print bogus strings.
fix one error message format.

R=ken
OCL=23849
CL=23851
14 files changed:
src/cmd/6g/cgen.c
src/cmd/6g/gen.c
src/cmd/6g/gg.h
src/cmd/6g/gsubr.c
src/cmd/gc/dcl.c
src/cmd/gc/go.h
src/cmd/gc/go.y
src/cmd/gc/subr.c
src/cmd/gc/walk.c
src/runtime/print.c
src/runtime/string.c
test/escape.go [new file with mode: 0644]
test/escape1.go [new file with mode: 0644]
test/golden.out