runtime: fix misc gcc-isms and undefined behavior
commitde8b47de2e5ffc6bdbba5bf14024a843af5d9012
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 May 2014 23:10:47 +0000 (28 23:10 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 May 2014 23:10:47 +0000 (28 23:10 +0000)
treedf34b4ed79bf7318bf3a3954769e5b025f585952
parent61b1440327acebe3aebb7bca187df4abafbf3179
runtime: fix misc gcc-isms and undefined behavior

This includes the use of __complex and __builtin_ functions where
unprefixed entities would suffice, and the use of a union for
bit-casting between types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211036 138bc75d-0d04-0410-961f-82ee72b054a4
libgo/runtime/go-cdiv.c
libgo/runtime/go-type-complex.c
libgo/runtime/go-type-float.c
libgo/runtime/print.c
libgo/runtime/runtime.h