This is the mail archive of the gcc-help@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: gcc optimises out test of value in register-only loop


Am 13.10.2011 13:56, schrieb MikeW:
Looks like the 'volatile' attribute does not work when registers are involved,
even though various language standard documents just mention "access to
an object" rather than stating that the qualifier only applies to
in-memory "objects".


Does the standard even know about non-memory objects, i.e. registers?


Best regards.


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