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 | 8864383839cfe0a60582d196b9140fdf116fb30f (patch) | |
tree | 8ae599a912dc3679d7738d95f8af4d8ec6941f8f /vm_eval.c | |
parent | b6ed3dce38e6fa54ee328d0df00410f9310ed1b5 (diff) | |
download | ruby-8864383839cfe0a60582d196b9140fdf116fb30f.tar.gz |
* 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: svn+ssh://ci.ruby-lang.org/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; |