compile: add type conversion in Type::gc_symbol_pointer
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 30 Dec 2016 18:03:39 +0000 (18:03 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 30 Dec 2016 18:03:39 +0000 (18:03 +0000)
commit7d5c50520a289b057adacce0966616e35ef7c5a0
tree201fce031856c78b94aa792210f33faa799fae1b
parent9085a4c146a875be4b980241cd8d761b8f12a6f1
compile: add type conversion in Type::gc_symbol_pointer

    Wrap the return from Type::gc_symbol_pointer with a type conversion to
    uintptr, since the values returned are stored into structure fields
    with that type.

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

From-SVN: r243978
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/types.cc