Go patch committed: Drop log2 and trunk

Ian Lance Taylor iant@google.com
Thu Feb 16 08:58:00 GMT 2012


Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:

> The patch allowed the bootstrap to complete successfully, but since
> libgo.so now has undefined references to log2 and trunc, all Go
> execution still fail.

I went ahead and removed the uses of the libc log2 and trunc functions,
on the basis that although they are in C99 they are not in C89.
Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.
Committed to mainline.

Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 829 bytes
Desc: patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120216/651d129e/attachment.bin>


More information about the Gcc-patches mailing list