Go patch committed: Don't let middle-end clear flag_errno_math

Ian Lance Taylor iant@google.com
Tue Feb 8 17:53:00 GMT 2011


This patch to the Go frontend takes advantage of the options handling
patch I just committed to not let the middle-end clear flag_errno_math.
While looking at this code I noticed that we should not be clearing
flag_trapping_math; we do normally want floating point operations to
trap in Go.  Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu.  Committed to mainline.

Ian


2011-02-08  Ian Lance Taylor  <iant@google.com>

	* go-lang.c (go_langhook_init_options_struct): Set
	frontend_set_flag_errno_math.  Don't set x_flag_trapping_math.


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


More information about the Gcc-patches mailing list