Fwd: Go patch committed: enable -fkeep-gc-roots-live for Go

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fwd: Go patch committed: enable -fkeep-gc-roots-live for Go

Ian Lance Taylor-4
Java maintainers: you may want to implement a similar patch for the
Java frontend.

See the discussion about the new option at

https://gcc.gnu.org/ml/gcc/2016-01/msg00023.html

https://gcc.gnu.org/ml/gcc-patches/2016-01/msg01483.html

Ian


---------- Forwarded message ----------
From: Ian Lance Taylor <[hidden email]>
Date: Wed, Jan 27, 2016 at 10:37 AM
Subject: Go patch committed: enable -fkeep-gc-roots-live for Go
To: gcc-patches <[hidden email]>,
"[hidden email]" <[hidden email]>


This patch enables the new -fkeep-gc-roots-live option for Go.  This
fixes https://golang.org/issue/13662 .  Bootstrapped and ran Go
testsuite on x86_64-pc-linux-gnu.  Committed to mainline.

Ian

2016-01-27  Ian Lance Taylor  <[hidden email]>

* go-lang.c (go_langhook_init_options_struct): Default to
-fkeep-gc-roots-live.

patch.txt (794 bytes) Download Attachment