[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1317: fibc hangs when compiled with -O3 or -O4
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1317: fibc hangs when compiled with -O3 or -O4 |
Date: |
Sat, 17 Sep 2016 18:43:28 -0000 |
#1317: fibc hangs when compiled with -O3 or -O4
---------------------------------+------------------------
Reporter: mario | Owner:
Type: defect | Status: new
Priority: major | Milestone: 4.12.0
Component: compiler | Version: 4.11.0
Resolution: | Keywords: fibc, hang
Estimated difficulty: hard |
---------------------------------+------------------------
Comment (by sjamaan):
It looks like the whole call-cc stuff is just a red herring. The following
simplified version fails in the same way
{{{
#!scm
(define (add x y)
(if (zero? y)
x
(add (add1 x) (sub1 y))))
(define (fib x)
(if (or (= x 0) (= x 1))
x
(add (fib (sub1 x))
(fib (sub1 (sub1 x))))))
(print (fib 30))
}}}
--
Ticket URL: <https://bugs.call-cc.org/ticket/1317#comment:2>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- Re: [Chicken-janitors] #1317: fibc hangs when compiled with -O3 or -O4,
Chicken Trac <=