]> git.ipfire.org Git - thirdparty/gcc.git/commit
net: rename TestAddr6 to avoid gotest confusion
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 31 Jan 2018 14:43:37 +0000 (14:43 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 31 Jan 2018 14:43:37 +0000 (14:43 +0000)
commitcb6a6b25e409efd06ad7ffb87cf73bbe243d704a
tree933a677f257b6b7a21b0c50ce9b19f57233a2951
parent7a157266876058eee921323240e4bfd7e5a84fba
net: rename TestAddr6 to avoid gotest confusion

    On ppc64 gotest treats data variables whose names begin with "Test" as
    tests to run.  This is to support the function descriptors used for
    ppc64 ELF ABI v1.  This causes gotest to think that TestAddr6 is a
    test, when it is actually a variable.  For a simple fix until we can
    figure out how to write gotest properly, rename the variable.

    Fixes golang/go#23623

    Reviewed-on: https://go-review.googlesource.com/90995

From-SVN: r257235
gcc/go/gofrontend/MERGE
libgo/go/net/dnsclient_unix_test.go