------- Additional Comments From schlie at comcast dot net  2005-06-13 14:12 
-------
(In reply to comment #6)
> Changing the expression for accessing the volatile member
> of the struct to:
>  "(volatile int)ptr->b;"
> or just:
>  "ptr->b;"
> still leads to the access being optimized away.

Which seems like the real problem, as volatile access
sematics should clearly apply in both instances.



-- 


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

Reply via email to