chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] can not coerce inexact literal - coerced inexact lit


From: Kon Lovett
Subject: Re: [Chicken-users] can not coerce inexact literal - coerced inexact literal - benchmarks game
Date: Wed, 30 Jan 2008 17:38:33 -0800


On Jan 30, 2008, at 10:35 AM, Isaac Gouy wrote:

I finally got around to upgrading from version 2.6 to version 3.0.0 -
and  now there are more programs showing Error

http://shootout.alioth.debian.org/gp4sandbox/benchmark.php? test=all&lang=chicken&lang2=chicken

Any simple suggestions on how to fix the programs?

-benchmark-mode
Equivalent to -no-trace -no-lambda-info -optimize-level 3 -fixnum- arithmetic -disable-interrupts -block -lambda-lift.

Note the "-fixnum-arithmetic" which causes the "Warning: coerced inexact literal number `2.0' to fixnum 2" messages.

Suggest removing the 'declare' clause from the sources & using

-no-trace -no-lambda-info -optimize-level 3 -disable-interrupts - block -lambda-lift

with the 'csc' invocation. The '-optimize-level 3' implies '-unsafe' & '-optimize-leaf-routines'.

HTH


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


_______________________________________________
Chicken-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/chicken-users

Best Wishes,
Kon






reply via email to

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