This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc optimises out test of value in register-only loop
On 10/13/2011 01:14 PM, MikeW wrote:
>
> I would certainly like there to be some way to ensure that an
> expression in a loop gets (re) evaluated, in a 'volatile' context.
For this, or something else? We already know that solving
this particular problem only involves replacing a register
variable declaration with a trivial asm that reads from the
register.
Andrew.