Opened 3 months ago

Closed 8 weeks ago

#1648 closed defect (fixed)

Inliner goes wrong

Reported by: megane Owned by: felix winkelmann
Priority: major Milestone: 5.2
Component: compiler Version: 5.1.0
Keywords: inline Cc:
Estimated difficulty:

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)))))

Change History (2)

comment:1 Changed 3 months ago by felix winkelmann

Owner: set to felix winkelmann
Status: newassigned

comment:2 Changed 8 weeks ago by megane

Resolution: fixed
Status: assignedclosed

Fixed by 5d55f18857977c41a642161316e4cc497e333f5b

Note: See TracTickets for help on using tickets.