gcc optimises out test of value in register-only loop
Thomas Martitz
thomas.martitz@student.htw-berlin.de
Thu Oct 13 11:58:00 GMT 2011
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.
More information about the Gcc-help
mailing list