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/