[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #1648: Inliner goes wrong
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #1648: Inliner goes wrong |
Date: |
Mon, 16 Sep 2019 08:53:43 -0000 |
#1648: Inliner goes wrong
-------------------------------+----------------------
Reporter: megane | Type: defect
Status: new | Priority: major
Milestone: 5.2 | Component: compiler
Version: 5.1.0 | Keywords: inline
Estimated difficulty: |
-------------------------------+----------------------
Compiling this with `-inline` sends the optimizer into some loop that
eventually exhausts the heap.
Fails with `4.13.0` too.
{{{
(module
m1 (foo)
(import scheme)
(define (foo x) (bar x))
(define (bar x) (if (null? x) x (bar (cdr x)))))
}}}
--
Ticket URL: <https://bugs.call-cc.org/ticket/1648>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #1648: Inliner goes wrong,
Chicken Trac <=