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 rtl-optimization/15482] can't find a register in class `GENERAL_REGS' while reloading `asm'



------- Comment #6 from ramana at gcc dot gnu dot org  2010-01-09 23:59 -------
void bar(int, int, int, int);
Corrected testcase 

void bar (int, int , int);

int x;
int foo (int a1, int a2, int a3)
{
  int b;
  __asm volatile("mov %0, #0":"=r" (b)::
                 "r3", "r4", "r5", "r6", "r7" , "r8", "r9", "sl","ip", "lr",
"fp");
  x = b;
  bar(a1, a2, a3);
}

Reconfirmed with trunk as on today


-- 

ramana at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.4.2 4.5.0


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


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