gcc optimises out test of value in register-only loop

Ian Lance Taylor iant@google.com
Fri Oct 14 04:41:00 GMT 2011


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



More information about the Gcc-help mailing list