summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--eval.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 72ac12f96..2d28d9e39 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jul 18 21:39:18 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
+
+ * eval.c (rb_call0): make the pointer to NODE volatile
+ instead of NODE itself.
+
Mon Jul 18 14:32:21 2005 Tanaka Akira <akr@m17n.org>
* eval.c (rb_call0): make body volatile to avoid possible optimization
diff --git a/eval.c b/eval.c
index e90372157..9e380569b 100644
--- a/eval.c
+++ b/eval.c
@@ -5699,7 +5699,7 @@ rb_call0(klass, recv, id, oid, argc, argv, body, nosuper)
ID oid;
int argc; /* OK */
VALUE *argv; /* OK */
- volatile NODE *body;
+ NODE * volatile body;
int nosuper;
{
NODE *b2; /* OK */