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 7512b34d8..5a8f53d13 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jul 18 21:40:20 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 optimization problem.
diff --git a/eval.c b/eval.c
index 9064678e6..5bc8229de 100644
--- a/eval.c
+++ b/eval.c
@@ -5603,7 +5603,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 */