summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--io.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 45a3dfe04..cf19dffb5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Dec 20 01:46:48 2005 Tanaka Akira <akr@m17n.org>
+
+ * io.c (rb_f_backquote): fix a GC problem on
+ IA64 with gcc 4.0.3 20051216 (prerelease) -O3.
+
Mon Dec 19 23:32:39 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* Makefile.in (XCFLAGS): separated as well as win32/Makefile.sub.
diff --git a/io.c b/io.c
index be3984e7d..8e0a4e78f 100644
--- a/io.c
+++ b/io.c
@@ -4373,7 +4373,8 @@ rb_f_readlines(int argc, VALUE *argv)
static VALUE
rb_f_backquote(VALUE obj, VALUE str)
{
- VALUE port, result;
+ volatile VALUE port;
+ VALUE result;
OpenFile *fptr;
SafeStringValue(str);