Compiler optimizing variables in inline assembly
David Brown
david@westcontrol.com
Fri Feb 21 09:55:00 GMT 2014
On 20/02/14 20:29, Cody Rigney wrote:
> That makes sense. In this case, the input parameters are actually
> memory addresses. So how would I do an output or clobber that would
> tell the compiler that the memory at those addresses will change?
>
Easy - you specify "memory" in your clobber list!
> Thanks for your time,
>
> Cody
>
(I forgot the "reply all" to the list - sorry for the duplicate.)
More information about the Gcc-help
mailing list