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
- From: Ian Lance Taylor <iant at google dot com>
- To: MikeW <mw_phil at yahoo dot co dot uk>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 13 Oct 2011 21:41:34 -0700
- Subject: Re: gcc optimises out test of value in register-only loop
- References: <loom.20111013T124012-691@post.gmane.org>
MikeW <mw_phil@yahoo.co.uk> writes:
> volatile register int stop_loop __asm("r5")__;
gcc does not support volatile register variables. I think it could be
meaningful, but it has never worked.
Ian