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]

Re: simplify_subreg issues


Geoff Keating <geoffk@geoffk.org> writes:

> The underlying problem is that 'volatile' doesn't make sense in
> conjunction with 'complex'.  

Why do you think so?

> We can't do complex loads or stores.

The volatile qualifier has not much to do with atomicity of access, at
least according to the C standard.  For example, the C standard
requires that accesses to volatile objects are not reordered accross
sequence points.

-- 
Florian Weimer 	                  Florian.Weimer@RUS.Uni-Stuttgart.DE
University of Stuttgart           http://cert.uni-stuttgart.de/
RUS-CERT                          +49-711-685-5973/fax +49-711-685-5898


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