Re: Fix asm constraint in put_user

From: Andreas Schwab <>
Date: 2005-11-22 03:48:31
David Mosberger-Tang <> writes:

> If memory services, you should use the "o" constraint instead. 

That doesn't work.

> Note that there is no "memory" clobber, so if you change from "m" to "r"
> constraint, GCC won't know that the location at "addr" is being stored
> to.

There is nothing worth clobbering here.  The memory written to is
completely separate to anything GCC knows about.  The old version didn't
clobber either.


Andreas Schwab, SuSE Labs,
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Tue Nov 22 03:49:22 2005

This archive was generated by hypermail 2.1.8 : 2005-11-22 03:49:28 EST