This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/15482] can't find a register in class `GENERAL_REGS' while reloading `asm'
- From: "ramana at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jan 2010 23:59:29 -0000
- Subject: [Bug rtl-optimization/15482] can't find a register in class `GENERAL_REGS' while reloading `asm'
- References: <bug-15482-6527@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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