[LLVMbugs] [Bug 1168] LLVM doesn't support "complex" type in "asm" statements

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Oct 15 09:06:25 PDT 2008


http://llvm.org/bugs/show_bug.cgi?id=1168


Anton Korobeynikov <asl at math.spbu.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




--- Comment #6 from Anton Korobeynikov <asl at math.spbu.ru>  2008-10-15 11:06:25 ---
(In reply to comment #4)
> GCC also rejects this:
> 
> $ gcc-4.0 t.c -S -o -
> t.c: In function ‘f’:
> t.c:4: error: can't find a register in class ‘GENERAL_REGS’ while reloading
> ‘asm’
> $ gcc-4.2 t.c -S -o -
> t.c: In function ‘f’:
> t.c:4: error: can't find a register in class ‘GENERAL_REGS’ while reloading
> ‘asm’
> t.c:4: error: ‘asm’ operand has impossible constraints
This is bug in apple gcc then.

I have:
1. fsf gcc 4.2.4 on x86-64/linux:
<compiles fine, output attached>
2. llvm-gcc 4.2
Couldn't allocate output reg for constraint 'r'!
3. Both gcc 4.0 and 4.2 on darwin
t.c:4: error: can't find a register in class ‘GENERAL_REGS’ while reloading


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list