unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Fix build of platforms where the stack grows upwards
@ 2020-02-04 11:26 John Paul Adrian Glaubitz
  2020-02-04 11:26 ` [PATCH] " John Paul Adrian Glaubitz
  0 siblings, 1 reply; 2+ messages in thread
From: John Paul Adrian Glaubitz @ 2020-02-04 11:26 UTC (permalink / raw)
  To: guile-devel; +Cc: wingo, deller, dave.anglin

Hi!

In a20feea43, the mra of continuation was included in scm_dynthrow but
it was forgotten for SCM_STACK_GROWS_UP when calling grow_stack which
causes guile failing to build on Linux/hppa.

Thanks,
Adrian





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] Fix build of platforms where the stack grows upwards
  2020-02-04 11:26 Fix build of platforms where the stack grows upwards John Paul Adrian Glaubitz
@ 2020-02-04 11:26 ` John Paul Adrian Glaubitz
  0 siblings, 0 replies; 2+ messages in thread
From: John Paul Adrian Glaubitz @ 2020-02-04 11:26 UTC (permalink / raw)
  To: guile-devel; +Cc: wingo, deller, dave.anglin, John Paul Adrian Glaubitz

 * libguile/continuations.c (scm_dynthrow): Fix missing mra
   parameter to grow_stack for SCM_STACK_GROWS_UP.
---
 libguile/continuations.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libguile/continuations.c b/libguile/continuations.c
index 3f86c6bd4..67a47d38c 100644
--- a/libguile/continuations.c
+++ b/libguile/continuations.c
@@ -323,7 +323,7 @@ scm_dynthrow (SCM cont, uint8_t *mra)
 
 #if SCM_STACK_GROWS_UP
   if (dst + continuation->num_stack_items >= &stack_top_element)
-    grow_stack (cont);
+    grow_stack (cont, mra);
 #else
   dst -= continuation->num_stack_items;
   if (dst <= &stack_top_element)
-- 
2.25.0




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-04 11:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-04 11:26 Fix build of platforms where the stack grows upwards John Paul Adrian Glaubitz
2020-02-04 11:26 ` [PATCH] " John Paul Adrian Glaubitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).