[Bug c/22278] gcc -O2 discards cast to volatile

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Sat Jul 2 22:11:00 GMT 2005


------- Additional Comments From gdr at integrable-solutions dot net  2005-07-02 22:11 -------
Subject: Re:  gcc -O2 discards cast to volatile

"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| Since the orginal pointer is not violatile

How do you know that?  Just looking at function *parameter*?  Sorry,
that is no reason.

-- Gaby


-- 


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



More information about the Gcc-bugs mailing list