summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-12-07 08:38:39 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-12-07 08:38:39 +0000
commita721bd628ef4ea9846e9395530752ab8e47b4eca (patch)
tree2f7c9f54c65c72f9f9b24b1187d9edbdee0ecd50
parent598d8ada314704591ac6eaf2c40dd9b0602490f8 (diff)
shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--eval.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6abc2ce..fb4aeb0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Dec 7 17:35:51 2000 Shugo Maeda <shugo@ruby-lang.org>
+
+ * eval.c (stack_length): don't use __builtin_frame_address() on alpha.
+
Wed Dec 6 18:07:13 2000 WATANABE Hirofumi <eban@ruby-lang.org>
* djgpp/config.sed, win32/Makefile.sub: typo.
diff --git a/eval.c b/eval.c
index 3ef4165..732ae7f 100644
--- a/eval.c
+++ b/eval.c
@@ -4037,7 +4037,7 @@ stack_length(p)
alloca(0);
# define STACK_END (&stack_end)
#else
-# if defined(__GNUC__)
+# if defined(__GNUC__) && !defined(__alpha__)
VALUE *stack_end = __builtin_frame_address(0);
# else
VALUE *stack_end = alloca(1);