On Mon, Aug 24, 2009 at 09:14:57PM +0200, owner-cc65@musoftware.de wrote: > OK, so I have a hopefully reasonably short example of one problem. > > #include <assert.h> > > char foo(char a, char b) { > return *((char*)0x7000u + a + b); > } > > void main() { > *(char*)0x7000 =3D 0x42; > assert(0x42 =3D=3D foo(0, 0)); > } > > The assert fails with optimizations enabled on C64. Please try again, the problem should be fixed. And, if you remove most of the quoted lines from your mails, they will even make it to the list:-) Thanks for the report! Regards Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Thu Aug 27 22:04:38 2009
This archive was generated by hypermail 2.1.8 : 2009-08-27 22:04:40 CEST