[cc65] Optimizer bug?

From: Karri Kaksonen <karri1sipo.fi>
Date: 2004-11-23 10:25:53
Hi,

I have observed some strange behaviour in the snapshot 2.10.5-20041017.

A code like:

int a, b;

void main(void)
{
    a = 1;
    b = a << 8;
}

Left shifts up to 7 work as I would expect. But 8, 9, 10 produce something
else.

--
Regards,

Karri


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Nov 23 10:26:03 2004

This archive was generated by hypermail 2.1.8 : 2004-11-23 10:26:13 CET