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: Sun, 05 Sep 2010 10:02:46 +0200 (CEST)

Sat, 04 Sep 2010 20:30:07 +0200 (CEST), hartrumpf wrote:
> 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? 

To answer my own question: I removed my three redefinitions (which were
intended to help the optimizer), but nothing changed.

>>> 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.

In the compiler output lines "folding constant expression:",
the above string-append expression does not occur.

Greetings
Sven



reply via email to

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