ruby-changes:1926
From: ko1@a...
Date: 9 Sep 2007 01:30:04 +0900
Subject: [ruby-changes:1926] akr - Ruby:r13417 (trunk): values doesn't needs to be volatile since it is passed to rb_struct_initialize.
akr 2007-09-09 01:29:50 +0900 (Sun, 09 Sep 2007)
New Revision: 13417
Modified files:
trunk/marshal.c
Log:
values doesn't needs to be volatile since it is passed to rb_struct_initialize.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/marshal.c?r1=13417&r2=13416
Index: marshal.c
===================================================================
--- marshal.c (revision 13416)
+++ marshal.c (revision 13417)
@@ -1248,7 +1248,7 @@
case TYPE_STRUCT:
{
VALUE klass, mem;
- volatile VALUE values;
+ VALUE values;
volatile long i; /* gcc 2.7.2.3 -O2 bug?? */
long len;
ID slot;
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml