runtime: fix misc gcc-isms and undefined behavior
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 28 May 2014 23:10:47 +0000 (23:10 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 28 May 2014 23:10:47 +0000 (23:10 +0000)
commit93c521ea9cf06574be59d946d160938accc4eb4c
treedf34b4ed79bf7318bf3a3954769e5b025f585952
parentbc2eed9a8e6b0f1cf976ffe626471c5755eb2ca4
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.

From-SVN: r211036
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