Bug#393858: assembler error with -O0

2006-10-18 Thread Matthias Klose
Package: openser

seen while investigating #390694, see http://gcc.gnu.org/PR29329,
please forward it upstream.

compilation with -O0:

Andrew Pinski writes:
 $ gcc -c -fPIC -g -O0 -g tree234.i
 /tmp/cco6vA7j.s: Assembler messages:
 /tmp/cco6vA7j.s:172: Error: Rn must not overlap other operands -- `swpb 
 r3,r2,[r3]'

That is a bug in the source:
 asm volatile(
   # here \n\t
   swpb %0, %1, [%2] \n\t
   : =r (val)
   : r(1), r (lock) : memory
 );

I don't know how to fix that in the inline-asm.  Maybe an early
clobber can fix that.  I doubt this is related to the ICE anyways.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#393858: assembler error with -O0

2006-10-18 Thread Julien BLACHE
forwarded 393858 SourceForge #1579967
thanks

Matthias Klose [EMAIL PROTECTED] wrote:

Hi Matthias,

 seen while investigating #390694, see http://gcc.gnu.org/PR29329,
 please forward it upstream.

Thanks. Forwarded to the Sourceforge bug tracker, #1579967.

JB.

-- 
 Julien BLACHE - Debian  GNU/Linux Developer - [EMAIL PROTECTED] 
 
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]