Summary
Inliner goes wrong
Metadata
- Id: 09d8a9f419e2edbbea5ca38411e7e228561f37fa
- Trac id: 1648
- Type: defect
- Reporter: megane
- Owner: felix
- Cc:
- Status: closed
- Component: compiler
- Estimated difficulty:
- Resolution: fixed
- Priority: major
- Milestone: 5.2
- Version: 5.1.0
- Changetime: 2019-10-13 18:31:46 UTC
- Created: 2019-09-16 10:53:43 UTC
- Keywords: inline
Description
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)))))
Changes and comments
[2019-09-16 18:25:08 UTC] felix changed status from new to assigned
[2019-09-16 18:25:08 UTC] felix set owner to felix
[2019-10-13 18:31:46 UTC] megane changed status from assigned to closed
[2019-10-13 18:31:46 UTC] megane set resolution to fixed
[2019-10-13 18:31:46 UTC] megane wrote:
Fixed by 5d55f18857977c41a642161316e4cc497e333f5b