chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Optimizer bug


From: Sven Hartrumpf
Subject: [Chicken-users] Optimizer bug
Date: Sat, 04 Sep 2010 11:52:36 +0200 (CEST)

Hi all.

Some months ago -optimize-level 2 stopped working for me.
As -optimize-level 1 still works, inlining must be the culprit (?):


/usr/local/bin/chicken nallch.scm -output-file nallch.c -debug-level 0 
-optimize-level 2

Warning: redefinition of standard binding: symbol->string

Warning: redefinition of extended binding: any?

Warning: redefinition of extended binding: identity

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)) <--
Error: shell command terminated with non-zero exit status 17920: 
/usr/local/bin/chicken nallch.scm -output-file nallch.c -debug-level 0 
-optimize-level 2


How can I track down this problem myself (i.e. find out
which expression causes the compiler error)?

(I want to make a minimal test case that I can share.)

Greetings
Sven



reply via email to

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