On Mon, Mar 21, 2011 at 12:38 AM, Stephen J. Turnbull
Mats Lidell writes:
I think that taking the address of the variable will prevent
allocation to a register anyway in any sane compiler. If it doesn't,
the failure will take place at compile time, not run time.
But I'm not sure about that :-) so I'm only about +0.9 on this patch.
Martin, you're the best language lawyer I know. WDYT?
In this case, it doesn't matter. "Auto" is the default, so removing
the "auto" keywords results in exactly the same semantics we have now.
If a variable must never, ever be copied into a register, then
"volatile" is what you want.
XEmacs-Patches mailing list