go/types: implement SizesFor for gccgo
authorIan Lance Taylor <ian@gcc.gnu.org>
Sun, 14 Jan 2018 04:59:01 +0000 (04:59 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sun, 14 Jan 2018 04:59:01 +0000 (04:59 +0000)
commitffad1c54d2e4b698bab8d198a65c6183e74449a8
tree660362db6d65127cb1c0671cd4055146fd4ab6fa
parent8532713fc4ebeb6c7b1026bbdb4cf5ab61ff68e3
go/types: implement SizesFor for gccgo

    Move the architecture-specific settings out of configure.ac into a new
    shell script goarch.sh.  Use the new script to collect the values for
    all architectures to make them available in go/types.

    Also fix cmd/vet to pass the right compiler when it calls SizesFor.

    This fixes cmd/vet for systems that are not implemented in the gc
    toolchain, such as alpha and ia64.

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

From-SVN: r256655
gcc/go/gofrontend/MERGE
libgo/Makefile.am
libgo/Makefile.in
libgo/configure
libgo/configure.ac
libgo/go/cmd/vet/types.go
libgo/go/go/types/sizes.go
libgo/goarch.sh [new file with mode: 0755]
libgo/testsuite/Makefile.in