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.
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