public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/47502] New: [x32] can’t find a register in class ‘SIREG’ while reloading ‘asm’
@ 2011-01-28  0:23 hjl.tools at gmail dot com
  2011-01-28  3:23 ` [Bug rtl-optimization/47502] " hjl.tools at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-28  0:23 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47502

           Summary: [x32] can’t find a register in class ‘SIREG’ 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


On x32 branch, I got

[hjl@gnu-6 ilp32-19]$ cat x.i
int
foo (const void *set, void *oset)
{
  unsigned int resultvar;
  asm volatile ("int $0x80\n\t"
                : "=a" (resultvar)
                : "0" (14), "c" ((set)), "d" ((oset)), "S" (8)
                : "memory", "cc");
  return resultvar;
}
[hjl@gnu-6 ilp32-19]$ make
/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 -O -dp  
x.i
x.i: In function ‘foo’:
x.i:5:3: error: can’t find a register in class ‘SIREG’ while reloading ‘asm’
x.i:5:3: error: ‘asm’ operand has impossible constraints
make: *** [x.s] Error 1
[hjl@gnu-6 ilp32-19]$


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

end of thread, other threads:[~2011-07-28 14:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-28  0:23 [Bug target/47502] New: [x32] can’t find a register in class ‘SIREG’ while reloading ‘asm’ hjl.tools at gmail dot com
2011-01-28  3:23 ` [Bug rtl-optimization/47502] " hjl.tools at gmail dot com
2011-01-28  3:27 ` hjl.tools at gmail dot com
2011-01-28  3:47 ` hjl.tools at gmail dot com
2011-01-28  5:00 ` hjl at gcc dot gnu.org
2011-03-21  8:06 ` hjl at gcc dot gnu.org
2011-04-02  5:47 ` hjl at gcc dot gnu.org
2011-07-28 14:01 ` hjl.tools at gmail dot com

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).