[cc65] Patch for reading a 'volatile' pointer

From: Dave Dribin <ddribin1gmail.com>
Date: 2010-12-09 15:45:02
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.
Received on Thu Dec 9 15:45:10 2010

This archive was generated by hypermail 2.1.8 : 2010-12-09 15:45:14 CET