gcc optimises out test of value in register-only loop
Andrew Haley
aph@redhat.com
Thu Oct 13 12:18:00 GMT 2011
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.
More information about the Gcc-help
mailing list