This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RegRegname vs. Explicit Local Register Variables ...
On Fri, May 24, 2002 at 12:36:45PM +0200, Matthijs van Duin wrote:
> and without the "volatile" it doesn't. I've tried many things. The
> problem is that by copy-propagation the "src" parameter gets filled
> in directly into the asm inputs/outputs and return value, rather than
> using %eax.
This is i386. You should be using the "a" constraint for that.
Please re-read
http://gcc.gnu.org/onlinedocs/gcc-3.1/gcc/Machine-Constraints.html#Machine%20Constraints
r~