diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-09 02:14:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-09 02:14:52 +0000 |
commit | 127a4040aba260ffe24f8e8a77760f4ef833d415 (patch) | |
tree | 8ae599a912dc3679d7738d95f8af4d8ec6941f8f /vm_eval.c | |
parent | 77869020e6ccaee63514e44ee954af3eb071a29f (diff) | |
download | ruby-127a4040aba260ffe24f8e8a77760f4ef833d415.tar.gz ruby-127a4040aba260ffe24f8e8a77760f4ef833d415.tar.xz ruby-127a4040aba260ffe24f8e8a77760f4ef833d415.zip |
* vm_eval.c (rb_f_catch): gets rid of issue with gcc 4.4. a patch
from Alexey Froloff in [ruby-core:23398]. [ruby-core:22924]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
-rw-r--r-- | vm_eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1222,7 +1222,7 @@ rb_f_catch(int argc, VALUE *argv) { VALUE tag; int state; - VALUE val = Qnil; /* OK */ + volatile VALUE val = Qnil; /* OK */ rb_thread_t *th = GET_THREAD(); rb_control_frame_t *saved_cfp = th->cfp; |