Hi,

On Wed, 23 Oct 2013 14:37:43, Richard Biener wrote:

> The C++ memory model says that you may not introduce a data-race
> and thus you have to access Type without touching Prefix.

Thanks.

Right now I see the following priorities:

1. make -fno-strict-volatile-bitfields respect the C++ memory model
=>  I think, I know how to do that and can prepare a patch for that.
      This patch should fix the recursion problem that Sandra pointed out.

2. make Sandra's -fstrict-volatile-bitfields aware of the C++ memory model.
=> that means passing bitregion_start/end to strict_volatile_bitfield_p()
     and return false if the access is outside. (this is 
-fstrict-volatile-bitfields=gnu)

3. another patch can add -fstrict-volatile-bitfields=aapcs later, but I don't 
think
    we have to hurry for that.


Bernd.                                    

Reply via email to