Opened 2 years ago

Last modified 15 months ago

#1226 new defect

This code will trigger an inlining loop

Reported by: ckeen Owned by:
Priority: major Milestone: someday
Component: compiler Version: 4.10.x
Keywords: Cc:
Estimated difficulty: hard

Description

When compiling the following code with -O3 it will trigger an inlining loop observable with -debug i

(define (main-loop renderer)
  (main-loop renderer))

(when (zero? 0)
  (let ()
    (when #t
      (when #t
        (main-loop renderer)))))
...
inlining: "(t.scm:2) main-loop" f_193 14 
inlining: "(t.scm:2) main-loop" f_193 14 
...

Change History (3)

comment:1 Changed 2 years ago by ckeen

  • Component changed from unknown to compiler
  • Version changed from 4.9.x to 4.10.x

comment:2 Changed 2 years ago by ckeen

Also -O2

comment:3 Changed 15 months ago by sjamaan

  • Estimated difficulty set to hard
Note: See TracTickets for help on using tickets.