public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/47449] New: [32] can’t find a register in class ‘DIREG’ while reloading ‘asm’
@ 2011-01-24 23:03 hjl.tools at gmail dot com
  2011-01-24 23:07 ` [Bug target/47449] " hjl.tools at gmail dot com
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-24 23:03 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2011-08-06 14:37 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-24 23:03 [Bug target/47449] New: [32] can’t find a register in class ‘DIREG’ while reloading ‘asm’ hjl.tools at gmail dot com
2011-01-24 23:07 ` [Bug target/47449] " hjl.tools at gmail dot com
2011-01-24 23:29 ` hjl.tools at gmail dot com
2011-01-24 23:31 ` hjl.tools at gmail dot com
2011-01-24 23:37 ` pinskia at gcc dot gnu.org
2011-01-24 23:38 ` hjl.tools at gmail dot com
2011-01-24 23:45 ` pinskia at gcc dot gnu.org
2011-01-25  0:00 ` bonzini at gnu dot org
2011-01-25  2:01 ` bonzini at gnu dot org
2011-01-25  2:13 ` [Bug target/47449] [x32] " hjl.tools at gmail dot com
2011-01-25  3:16 ` [Bug middle-end/47449] " hjl at gcc dot gnu.org
2011-01-25  3:37 ` hjl.tools at gmail dot com
2011-01-25 15:45 ` hjl at gcc dot gnu.org
2011-07-05 12:48 ` [Bug rtl-optimization/47449] " hjl at gcc dot gnu.org
2011-07-05 13:15 ` hjl.tools at gmail dot com
2011-08-06 14:37 ` hjl at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).