This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/47449] New: [32] canât find a register in class âDIREGâ while reloading âasmâ


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]