Re: [Chicken-hackers] [PATCH] Always regenerate import libraries in setup-mode

2019-05-29 Thread kooda
felix.winkelm...@bevuta.com wrote: > > On 2019-05-07 7:45, Evan Hanson wrote: > > > On 2019-05-06 13:04, ko...@upyum.com wrote: > > > > I don't think that patch is right. If you emit import libraries from the > > > > static builds, you will not be able to import modules from the evaluator > > > >

Re: [Chicken-hackers] [PATCH] Mostly fix #1604

2019-05-29 Thread megane
Peter Bex writes: > On Wed, May 29, 2019 at 10:39:54AM +0300, megane wrote: >> Consider the case (= a b c). If the C_and in the rewrite short-circuits >> then 'c' is never evaluated, right? > > Ah, good observation. That might be a problem. It doesn't seem to be a problem currently, but

Re: [Chicken-hackers] [PATCH] Mostly fix #1604

2019-05-29 Thread Peter Bex
On Wed, May 29, 2019 at 10:39:54AM +0300, megane wrote: > Consider the case (= a b c). If the C_and in the rewrite short-circuits > then 'c' is never evaluated, right? Ah, good observation. That might be a problem. > Testing this indicates this is not an issue. Playing with gcc > optimization

Re: [Chicken-hackers] [PATCH] Mostly fix #1604

2019-05-29 Thread megane
Peter Bex writes: > On Sat, May 18, 2019 at 08:46:40PM +0300, megane wrote: >> Here's what I figured out fwiw: >> ... >> (let ((g234 n10)) >> (let ((g235 0)) >> (k144 (##core#inline "C_eqp" g234 g235 >> ... >> >> This transformation comes from this rewrite rule: >>