BigEd / atalan

Automatically exported from code.google.com/p/atalan
MIT License
1 stars 0 forks source link

Programs that use rmt lib do not compile with optimizations of #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The new proc call model introduced the bug, that without optimisation variables 
music__init__xx are not declared. Optimizer throws them out, but if it does 
not, there is an error.

   lda _216
   sta music__init___16
   lda _216+1
   sta music__init___16+1
   lda #0
   sta music__init___17
   ldx music__init___16+0
   ldy music__init___16+1
   lda music__init___17

Original issue reported on code.google.com by jakub.hu...@gmail.com on 1 Feb 2011 at 8:16

GoogleCodeExporter commented 9 years ago
There was problem with local variables in macros.

Original comment by rudla.ku...@gmail.com on 21 Feb 2011 at 9:59