ruby-changes:20580
From: kosaki <ko1@a...>
Date: Fri, 22 Jul 2011 21:52:33 +0900 (JST)
Subject: [ruby-changes:20580] kosaki:r32628 (trunk): * vm_insnhelper.c (vm_call_cfunc): added volatile for a workaround
kosaki 2011-07-22 21:52:25 +0900 (Fri, 22 Jul 2011) New Revision: 32628 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32628 Log: * vm_insnhelper.c (vm_call_cfunc): added volatile for a workaround of cfp consistency error problem on OS X 10.7 (Lion). It's suspected llvm optimization bug. [Bug #5076] [ruby-dev:44185] Modified files: trunk/ChangeLog trunk/vm_insnhelper.c Index: ChangeLog =================================================================== --- ChangeLog (revision 32627) +++ ChangeLog (revision 32628) @@ -1,3 +1,10 @@ +Fri Jul 22 21:46:54 2011 KOSAKI Motohiro <kosaki.motohiro@g...> + + * vm_insnhelper.c (vm_call_cfunc): added volatile for a workaround + of cfp consistency error problem on OS X 10.7 (Lion). It's + suspected llvm optimization bug. + [Bug #5076] [ruby-dev:44185] + Fri Jul 22 21:18:20 2011 NARUSE, Yui <naruse@r...> * lib/uri/generic.rb (WFKV_): unroll the loop of regexp. Index: vm_insnhelper.c =================================================================== --- vm_insnhelper.c (revision 32627) +++ vm_insnhelper.c (revision 32628) @@ -387,7 +387,7 @@ static inline VALUE vm_call_cfunc(rb_thread_t *th, volatile rb_control_frame_t *reg_cfp, - int num, VALUE recv, const rb_block_t *blockptr, + int num, volatile VALUE recv, const rb_block_t *blockptr, const rb_method_entry_t *me) { volatile VALUE val = 0; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/