From ecc67046c9d4d7e97441d5b25be1cce7b4f8adba Mon Sep 17 00:00:00 2001 From: knu Date: Sat, 3 Mar 2007 12:41:36 +0000 Subject: * eval.c (stack_check): Unset inline to fix build with GCC 3.4.6; submitted by: NISHIMATSU Takeshi in [ruby-list:43218]. cf. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24556 git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@11972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 +++++++ eval.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1245b7e38..0cc99b4d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Sat Mar 3 21:41:31 2007 Akinori MUSHA + + * eval.c (stack_check): Unset inline to fix build with GCC 3.4.6; + submitted by: NISHIMATSU Takeshi in + [ruby-list:43218]. + cf. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24556 + Sat Mar 3 19:07:05 2007 Akinori MUSHA * ext/thread/thread.c (push_list): Use ALLOC(). diff --git a/eval.c b/eval.c index 64a43c5b5..a5b4e84b4 100644 --- a/eval.c +++ b/eval.c @@ -5482,7 +5482,7 @@ rb_with_disable_interrupt(proc, data) return result; } -static inline void +static void stack_check() { static int overflowing = 0; -- cgit