[Bug c/12826] Optimizer removes reference through volatile pointer

falk at debian dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 29 15:19:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From falk at debian dot org  2003-10-29 15:04 -------
As I see it, *sp is not volatile, even if you access it with a pointer to 
volatile. It's the volatility of the *object* that counts. So IMHO this is not a 
bug.



More information about the Gcc-bugs mailing list