From: ko1@atdot.net
To: ruby-core@ruby-lang.org
Subject: [ruby-core:61361] [ruby-trunk - Bug #9609] [PATCH] vm_eval.c: fix misplaced RB_GC_GUARDs
Date: Fri, 07 Mar 2014 10:22:04 +0000 [thread overview]
Message-ID: <redmine.journal-45678.20140307102203.30a20863cdb67fd1@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-9609.20140307100943@ruby-lang.org
Issue #9609 has been updated by Koichi Sasada.
ruby -v changed from ruby 2.2.0dev (2014-03-07 trunk 45281) [x86_64-linux] to -
(2014/03/07 19:09), normalperson@yhbt.net wrote:
> RB_GC_GUARD needs to be placed after RARRAY_PTR usages to portably
> prevent compilers from optimizing the VALUE away.
And also it should be RARRAY_CONST_PTR().
--
// SASADA Koichi at atdot dot net
----------------------------------------
Bug #9609: [PATCH] vm_eval.c: fix misplaced RB_GC_GUARDs
https://bugs.ruby-lang.org/issues/9609#change-45678
* Author: Eric Wong
* Status: Open
* Priority: Normal
* Assignee: Eric Wong
* Category: core
* Target version:
* ruby -v: -
* Backport: 1.9.3: REQUIRED, 2.0.0: REQUIRED, 2.1: REQUIRED
----------------------------------------
RB_GC_GUARD needs to be placed after RARRAY_PTR usages to portably
prevent compilers from optimizing the VALUE away.
---Files--------------------------------
0001-vm_eval.c-fix-misplaced-GC-guard.patch (1.46 KB)
--
http://bugs.ruby-lang.org/
next prev parent reply other threads:[~2014-03-07 10:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <redmine.issue-9609.20140307100943@ruby-lang.org>
2014-03-07 10:09 ` [ruby-core:61359] [ruby-trunk - Bug #9609] [Open] [PATCH] vm_eval.c: fix misplaced RB_GC_GUARDs normalperson
2014-03-07 10:21 ` [ruby-core:61360] " SASADA Koichi
2014-03-07 10:38 ` [ruby-core:61362] " Eric Wong
2014-03-07 11:03 ` [ruby-core:61366] " SASADA Koichi
2014-03-07 11:06 ` [ruby-core:61367] " SASADA Koichi
2014-03-07 10:22 ` ko1 [this message]
2014-03-07 10:41 ` [ruby-core:61363] [ruby-trunk - Bug #9609] " normalperson
2014-03-07 11:10 ` [ruby-core:61368] " ko1
2014-03-07 11:10 ` [ruby-core:61369] " ko1
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.ruby-lang.org/en/community/mailing-lists/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=redmine.journal-45678.20140307102203.30a20863cdb67fd1@ruby-lang.org \
--to=ruby-core@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).