Fwd: Go patch committed: enable -fkeep-gc-roots-live for Go
Ian Lance Taylor <[email protected]> Wed, 27 Jan 2016 10:41:10 -0800
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <CAOyqgcU3Y6NQj-A6rXm46EmD9veS+SyG0Ld=tkJdyWd1bXaj7A@mail.gmail.com> |
--001a11354ad25465ec052a55259f Content-Type: text/plain; charset=UTF-8 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 <[email protected]> Date: Wed, Jan 27, 2016 at 10:37 AM Subject: Go patch committed: enable -fkeep-gc-roots-live for Go To: gcc-patches <[email protected]>, "[email protected]" <[email protected]> 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 <[email protected]> * go-lang.c (go_langhook_init_options_struct): Default to -fkeep-gc-roots-live. --001a11354ad25465ec052a55259f Content-Type: text/plain; charset=US-ASCII; name="patch.txt" Content-Disposition: attachment; filename="patch.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ijx6b7gi0 SW5kZXg6IGdjYy9nby9nby1sYW5nLmMKPT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PQotLS0gZ2NjL2dvL2dvLWxhbmcuYwkocmV2aXNpb24gMjMyODg4KQorKysg Z2NjL2dvL2dvLWxhbmcuYwkod29ya2luZyBjb3B5KQpAQCAtMTUwLDYgKzE1 MCw5IEBACiAgIG9wdHMtPnhfZmxhZ19leGNlcHRpb25zID0gMTsKICAgb3B0 cy0+eF9mbGFnX25vbl9jYWxsX2V4Y2VwdGlvbnMgPSAxOwogCisgIC8qIFdl IG5lZWQgdG8ga2VlcCBwb2ludGVycyBsaXZlIGZvciB0aGUgZ2FyYmFnZSBj b2xsZWN0b3IuICAqLworICBvcHRzLT54X2ZsYWdfa2VlcF9nY19yb290c19s aXZlID0gMTsKKwogICAvKiBHbyBwcm9ncmFtcyBleHBlY3QgcnVudGltZS5D YWxsZXJzIHRvIHdvcmssIGFuZCB0aGF0IHVzZXMKICAgICAgbGliYmFja3Ry YWNlIHRoYXQgdXNlcyBkZWJ1ZyBpbmZvLiAgU2V0IHRoZSBkZWJ1ZyBpbmZv IGxldmVsIHRvIDEKICAgICAgYnkgZGVmYXVsdC4gIEluIHBvc3Rfb3B0aW9u cyB3ZSB3aWxsIHNldCB0aGUgZGVidWcgdHlwZSBpZiB0aGUK --001a11354ad25465ec052a55259f--