c016fd32fe
With the gc toolchain apparently var s *string _ = *s is enough to panic with a nil pointer dereference. The gccgo compiler will simply discard the dereference, which I think is a reasonable and acceptable optimization. Change the tests to use an exported variable instead. The tests are not currently run, but they will be with a later patch to gotools. Reviewed-on: https://go-review.googlesource.com/46450 From-SVN: r249562 |
||
---|---|---|
.. | ||
windows | ||
aprof.go | ||
callback.go | ||
cgo.go | ||
crash.go | ||
deadlock.go | ||
dll_windows.go | ||
dropm_stub.go | ||
dropm.go | ||
exec.go | ||
main.go | ||
pprof.go | ||
raceprof.go | ||
racesig.go | ||
threadpanic_unix.c | ||
threadpanic_windows.c | ||
threadpanic.go | ||
threadpprof.go | ||
threadprof.go | ||
traceback.go | ||
tracebackctxt_c.c | ||
tracebackctxt.go |