public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* __put_user_size generates invalid asm
@ 2005-11-10 14:09 Andreas Schwab
  0 siblings, 0 replies; only message in thread
From: Andreas Schwab @ 2005-11-10 14:09 UTC (permalink / raw)
  To: linux-ia64

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."

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-10 14:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-10 14:09 __put_user_size generates invalid asm Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox