summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-14 03:04:14 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-14 03:04:14 +0000
commitf4055354dd7935096c83ec6a89f19c5ed9cc0b52 (patch)
tree8cd8f1784e565303738432e8e414365a49a20e96 /marshal.c
parent6a84d4430898a12671402201874e346a6276930d (diff)
* marshal.c (r_object0): fix a GC problem for reading a bignum on
IA64 with gcc 3.3.5 (Debian 1:3.3.5-13). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/marshal.c b/marshal.c
index 3791c4c..51771fd 100644
--- a/marshal.c
+++ b/marshal.c
@@ -1107,7 +1107,7 @@ r_object0(arg, proc, ivp, extmod)
{
long len;
BDIGIT *digits;
- VALUE data;
+ volatile VALUE data;
NEWOBJ(big, struct RBignum);
OBJSETUP(big, rb_cBignum, T_BIGNUM);