This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/47449] New: [32] canât find a register in class âDIREGâ while reloading âasmâ
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Jan 2011 22:48:40 +0000
- Subject: [Bug target/47449] New: [32] canât find a register in class âDIREGâ while reloading âasmâ
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47449
Summary: [32] canât find a register in class âDIREGâ while
reloading âasmâ
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: hjl.tools@gmail.com
CC: ubizjak@gmail.com
[hjl@gnu-6 ilp32-17]$ cat x.c
void bar (void *);
int
foo (void *trans)
{
int ret;
__asm __volatile ("foo %0\n\t" : "=D" (ret));
bar (trans);
return ret;
}
[hjl@gnu-6 ilp32-17]$ make x.s
/export/build/gnu/gcc-x32/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-x32/build-x86_64-linux/gcc/ -S -o x.s -mx32 -O2 -dp
x.c
x.c: In function âfooâ:
x.c:6:5: error: canât find a register in class âDIREGâ while reloading âasmâ
x.c:6:5: error: âasmâ operand has impossible constraints
make: *** [x.s] Error 1
[hjl@gnu-6 ilp32-17]$
Uros, any ideas? Thanks.