Re: Bad gcc code for atomic_dec

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
12 Jan 1998 11:47:40 +0100


Linus Torvalds <torvalds@transmeta.com> writes:

|> The gcc "md" files can actually take a "+" in the constraint for a
|> operand that is both read and written to, but that doesn't work in
|> inline assembly. Pity - it would also work fine in this case.

Note that gcc 2.8 has been fixed to support this in inline asm.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org