summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--eval.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6abc2ce899..fb4aeb0bb7 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 3ef416552a..732ae7f9c3 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);