------- Additional Comments From gdr at integrable-solutions dot net 2005-07-02 22:12 ------- Subject: Re: gcc -O2 discards cast to volatile
"falk at debian dot org" <[EMAIL PROTECTED]> writes: | According to Joseph Myers, the question is whether this counts as "access" to | a volatile object, which is implementation defined (6.7.3#6). However, | extend.texi doesn't answer this, so I'll reopen it as a documentation problem. | We could then either document it does not constitute an access, or change | the behavior and state that it does. | | | -- | What |Removed |Added | ---------------------------------------------------------------------------- | Status|RESOLVED |UNCONFIRMED | Keywords| |documentation It is also wrong-code. -- Gaby -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22278