Re: [cc65] testsuite - compiler bugs!

Date view Thread view Subject view

From: Ullrich von Bassewitz (
Date: 2003-03-04 12:10:50


On Mon, Mar 03, 2003 at 05:29:24AM +0100, Groepaz wrote:
> as another "cleaning out the closet" project i have worked a little on making
> that testsuite (which was in my earlier clumsy snapshot) somewhat useful in
> practice....

Great! As stated before, I'm somewhat short of time, but I will definitely
have a look at this one.

> 1) in section "strings"
>   if( ".\"."[1] != '"' )
>   {
> 	printf("shouldnt come here\n");
>   }

The code does access $0001 instead of string[$0001]. No wonder it fails:-)

> 2) in section "bitwise/logical operators"
> long list of errors here actually....for example:

Type casts for constants are wrong. The patch for this problem is available on
the "Known bugs" page. Thanks for the report!

BTW: Once I've looked into the array indexing bug above, I will probably
create a 2.9.1 bugfix release. If there are any serious problems not fixed,
please let me know.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to 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-03-04 12:10:59 CET