This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Why doesn't combine like volatiles? (volatile_ok again, sorry!)
Richard Earnshaw wrote:
AFAICT it is probably safe to do the combination provided (in addition
to the normal restrictions on combine) that:
I think this is a bad idea in practice, since volatile will be used
to describe memory mapped devices, and combining can completely
mess up the access. Yes, it is probably conforming, but it is
simply not a good idea to do this, and the gain is too small.