Re: [cc65] Overflows in signed comparisions

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-10-11 16:35:37


Hi!

On Sat, Oct 11, 2003 at 05:06:06AM +0200, Groepaz wrote:
> done... check the ftp :) its currently configured to only run the tests
> that currently fail, edit the makefile if you want them all :)

Thanks a lot, this was very helpful and I really liked the detailed HTML
report!

limits:
    Works ok now, it was the type casting fixed yesterday I think.

sub2:
    This is an error in the C code: If you want signed chars, you will have
    to say so explicitly. The defaults for gcc (signed chars) and cc65
    (unsigned chars) are different, which explains the failures.
    There are still differences in the output (no failures), but these are
    caused by the different int sizes.

rotate5:
    Error in cc65, is fixed now.

compare4:
    Problem with the C code, see sub2.

cq714:
cq714b:
    Did not link correctly. The routine to restore registers variables
    may emit code that relies on

        sta     abs,y

    wraping around zero if many auto variables are used (how many exactly
    depends on the location of the registers in the zero page and is therefore
    platform dependent). Since this code will always fail on the 65816, I will
    have to change the generated code. A workaround is to remove the register
    declarations for the variables, without these, the tests run ok.

yacc:
    Seems to run forever. Does it need so much time or is this the bug?

I will contact you also in private mail with a few suggestions regarding the
test suite.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-10-11 16:35:57 CEST