Re: RFA: TM PATCH to volatile checking

2015-10-01 Thread Richard Henderson
On 09/30/2015 11:57 PM, Jason Merrill wrote: commit e946db577784ed4670944dd91e81666af16793b3 Author: Jason Merrill Date: Tue Sep 29 14:43:08 2015 -0400 Diagnose volatile accesses in transaction_safe function. * trans-mem.c (volatile_lvalue_p): Rename from volatile_var_p.

RFA: TM PATCH to volatile checking

2015-09-30 Thread Jason Merrill
A testcase in the TM TS pointed out a couple of holes in our volatile checking: we need to check for volatile accesses to general lvalues, not just variables, and we need to check in transaction_safe functions as well as transactions. Tested x86_64-pc-linux-gnu. OK for trunk? commit e946db57