This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]