gcc/libgo/go/runtime/testdata/testprogcgo
Ian Lance Taylor c016fd32fe runtime: don't assume that _ = *s will panic if s is nil
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
2017-06-22 14:46:12 +00:00
..
windows
aprof.go
callback.go runtime: build testprogcgo with -pthread 2017-06-22 14:23:54 +00:00
cgo.go
crash.go runtime: don't assume that _ = *s will panic if s is nil 2017-06-22 14:46:12 +00:00
deadlock.go
dll_windows.go
dropm_stub.go
dropm.go
exec.go
main.go
pprof.go runtime: don't build test files that use SetCgoTraceback for gccgo 2017-06-22 14:27:09 +00:00
raceprof.go runtime: don't build test files that use SetCgoTraceback for gccgo 2017-06-22 14:27:09 +00:00
racesig.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
threadpanic_unix.c libgo: update to go1.8rc2 2017-01-23 22:18:42 +00:00
threadpanic_windows.c libgo: update to go1.8rc2 2017-01-23 22:18:42 +00:00
threadpanic.go
threadpprof.go runtime: don't build test files that use SetCgoTraceback for gccgo 2017-06-22 14:27:09 +00:00
threadprof.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
traceback.go runtime: don't build test files that use SetCgoTraceback for gccgo 2017-06-22 14:27:09 +00:00
tracebackctxt_c.c runtime: don't build test files that use SetCgoTraceback for gccgo 2017-06-22 14:27:09 +00:00
tracebackctxt.go runtime: don't build test files that use SetCgoTraceback for gccgo 2017-06-22 14:27:09 +00:00