Re: [cc65] Problem with multidimensional arrays

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2012-03-24 15:08:34
Hi!

On Sat, Mar 24, 2012 at 11:29:21AM +0200, thefox xofeht wrote:
> Why does "foo" get added to DATA segment in the following code? ("bar"
> goes to RODATA as expected.)

The reason is that the compiler doesn't look "deep enough" into the
declaration to see that the elements of the array are constant. I will fix
that. 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 Sat Mar 24 15:08:42 2012

This archive was generated by hypermail 2.1.8 : 2012-03-24 15:08:45 CET