chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] strange warning


From: Felix
Subject: Re: [Chicken-users] strange warning
Date: Fri, 24 Jun 2011 17:23:30 +0200 (CEST)

From: John Cowan <address@hidden>
Subject: Re: [Chicken-users] strange warning
Date: Fri, 24 Jun 2011 10:28:38 -0400

> Felix scripsit:
> 
>> These warnings indicate that optimizations transform your code in
>> such a way (through inlining for example), that some execution
>> paths contain calls to procedures with arguments evaluated at
>> compile-time. It would be interesting to see where this occurs. If you
>> are interested, compile with "-debug 7" and wade through the thicket
>> of CPS calls.
>>
>> If this gets too annoying I might throw the warning out
>> again. Currently it hasn't been overly helpful.
> 
> Well, no doubt, but if optimizations are generating code like (reverse
> #f), those optimizations are broken, no?  I mean, that's inevitably
> going to fail at runtime, so the warnings are alerting you to real
> problems and shouldn't be suppressed.

Unless we see the exact spot where these warnings are triggered they
might as well refer to dead code. The optimizations are not broken,
at least not in this case.


cheers,
felix



reply via email to

[Prev in Thread] Current Thread [Next in Thread]