From 0e1642ebbfdcca88498b032e057d89e43a456705 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 19 Dec 2005 17:11:20 +0000 Subject: [PATCH] * io.c (rb_f_backquote): fix a GC problem on IA64 with gcc 4.0.3 20051216 (prerelease) -O3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ io.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 45a3dfe04e..cf19dffb53 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Dec 20 01:46:48 2005 Tanaka Akira + + * 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 * Makefile.in (XCFLAGS): separated as well as win32/Makefile.sub. diff --git a/io.c b/io.c index be3984e7d7..8e0a4e78f3 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);