gofrontend: avoid use of unsafe.Sizeof extension
commitdf4a4c96823f0c09e36c51e40f5c064d6d462a03
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Apr 2014 23:13:39 +0000 (17 23:13 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Apr 2014 23:13:39 +0000 (17 23:13 +0000)
tree4ed3d357f795efbd0d8b9aed66dc4951691f0a2e
parent3745afdbcc247c091437aadb9ebf0eaadac5cab5
gofrontend: avoid use of unsafe.Sizeof extension

Avoid the use of a gccgo language extension which allows unsafe.Sizeof
to accept a type by passing an expression of the relevant type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209503 138bc75d-0d04-0410-961f-82ee72b054a4
libgo/go/syscall/libcall_posix.go