Summary

Inliner goes wrong

Metadata

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