http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55981



Paul E. McKenney <paulmck at linux dot vnet.ibm.com> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                 CC|                            |paulmck at linux dot

                   |                            |vnet.ibm.com



--- Comment #4 from Paul E. McKenney <paulmck at linux dot vnet.ibm.com> 
2013-01-15 12:30:04 UTC ---

(In reply to comment #2)

> Btw, the same happens if atomic is replaced with "volatile unsigned long y" -

> which does not violate the standard, but may be considered undesirable by 
> some.

> I don't have a strong opinion about this.



This really does need to be fixed in the "volatile unsigned long y" case, or

device drivers storing constants to device registers will break.  So please fix

this for volatiles as well as atomics.

Reply via email to