Opened 5 years ago

Closed 5 years 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 5 years ago by felix winkelmann

Owner: set to felix winkelmann
Status: newassigned

comment:2 Changed 5 years ago by megane

Resolution: fixed
Status: assignedclosed

Fixed by 5d55f18857977c41a642161316e4cc497e333f5b

Note: See TracTickets for help on using tickets.