chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Optimizer bug


From: Sven Hartrumpf
Subject: Re: [Chicken-users] Optimizer bug
Date: Sat, 04 Sep 2010 20:30:07 +0200 (CEST)

Sat, 04 Sep 2010 12:19:48 +0200 (CEST), felix wrote:
> Are these redefinitions genuine or are the warnings bogus?

The warnings are ok because I define the three functions myself.
Can this be a problem here? 

>> Error: (=) bad argument type - not a number: #f
>> 
>>   Call history:
>> 
>>   <syntax>     (string-append (quote "/") (quote #f))
>>   <syntax>     (quote "/")
>>   <syntax>     (##core#quote "/")
>>   <syntax>     (quote #f)
>>   <syntax>     (##core#quote #f)
>>   <eval>    (string-append (quote "/") (quote #f))
>>   <syntax>     (string->number (quote #f))
>>   <syntax>     (quote #f)
>>   <syntax>     (##core#quote #f)
>>   <eval>    (string->number (quote #f)) <--
> 
> This is during constant folding. Can you figure out the locations where
> such an expression will occur? Passing "-debug o" will given information
> about the optimizations done (long).

No hints :-(
 
> Alternatively you might pass "-debug 5 >data", but this will produce very
> large and awkward output

30 GiB of output but no hint, which line this corresponds to.

Greetings
Sven




reply via email to

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