Here's a patch (against 2.13.2) that causes a read from a 'volatile' pointer to not be optimized out. This most certainly does not cover all volatile cases, but it does work for the particular case I care about. ;-) I'm sure it is not implemented well, but will hopefully serve as a starting point for someone who really knows the code base. -Dave ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.8 : 2010-12-09 15:45:14 CET