This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC/RFT] Patch (java): Switch to new verifier


On Sat, Mar 05, 2005 at 03:15:36PM +0000, Andrew Haley wrote:
> The rule is that a fetch from an unused variable may be deleted by the
> tree optimizers.  I could fix this fairly easily by making the target
> of a load volatile.

Or the load itself via casts: *(volatile T *)addr.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]