bug-mes
[Top][All Lists]
Advanced

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

Re: [bug-mes] Compilation error with mescc - unhandled exception:not-a-n


From: Jan Nieuwenhuizen
Subject: Re: [bug-mes] Compilation error with mescc - unhandled exception:not-a-number:(#\h)
Date: Thu, 30 May 2019 14:48:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Danny Milosavljevic writes:

Hi Danny!

> I've been trying to fix some test failures on wip-arm, and one that I
> can't fix says:

I'm looking into it, have you tried with MES=guile SCHEME=guile?  That
would possibly give us a better backtrace :-)

> $ cat mescc-lib/lib/tests/scaffold/55-char-array.log
> less_punhandled exception:not-a-number:(#\h)

It looks as if there's a typo somewhere, this

>   #<#<<record-type> <frame> (procedure)> <frame> (lambda (r) (if (#<variable 
> <> v 0) (#<variable list> (#<variable list> (#<variable list> (quote 
> #:immediate1) (#<variable -> -1 v)) (#<variable string-append> mvn____% r 
> ,$i8))) (#<variable list> (#<variable list> (#<variable list> (quote 
> #:immediate1) v) (#<variable string-append> mov____$i8,% r)))))>

suggests that the `v' passed to `armv4:value->r' is a character and not
a number.

> Hmm?

...looking further into value->r usage

module/mescc/compile.scm
--8<---------------cut here---------------start------------->8---
        (,char (guard (char? char))
               (let ((info (allocate-register info)))
                 (append-text info (wrap-as (as info 'value->r char)))))

--8<---------------cut here---------------end--------------->8---

this one looks suspicious; could it be that you're hit by this?  Looks
like abug.

Let me know if you need more help!

janneke

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com



reply via email to

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