Re: [perl #43048] imcc constant folding div by zero bug

2007-05-27 Thread Jonathan Worthington
Will Coleda (via RT) wrote: This doesn't: .sub zero_check push_eh one $N1 = 3 / 0.0 Guessing that imcc is doing constant folding without the guards that the ops use. Aye, and the trouble is, I think, that we don't actually have ops that only take two constants; if I remember co

[perl #43048] imcc constant folding div by zero bug

2007-05-24 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #43048] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=43048 > ... or so I think: This works: .sub zero_check push_eh one $N0 = 0.0 $N1