__put_user_size generates invalid asm

From: Andreas Schwab <schwab_at_suse.de>
Date: 2005-11-11 01:09:55
The macro __put_user_size in <asm/uaccess.h> can generate invalid
assembler code.  The problem is that the %P1 operand can expand to a
register, but the stX insn does not allow a register as increment.  This
happens for example when compiling the rme96xx module with gcc 4.1.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Nov 11 01:11:51 2005

This archive was generated by hypermail 2.1.8 : 2005-11-11 01:12:00 EST