gcc/libgo/go/runtime/testdata
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
..
testprog runtime: don't assume that _ = *s will panic if s is nil 2017-06-22 14:46:12 +00:00
testprogcgo runtime: don't assume that _ = *s will panic if s is nil 2017-06-22 14:46:12 +00:00
testprognet libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00