This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'
- From: "bonzini at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jul 2007 12:18:13 -0000
- Subject: [Bug middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'
- References: <bug-32004-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #24 from bonzini at gnu dot org 2007-07-06 12:18 -------
Also, the testcase from comment #21 is not a regression: if we do the inlining
manually, it fails in 3.3 too. The failing testcase is:
void f(int a)
{
register int reg asm ("eax") = 0;
a /= 1000;
asm volatile ("nop" : "+r"(reg), "+r"(a));
}
So I'm opening a new PR.
--
bonzini at gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2007-05-20 11:20:47 |2007-07-06 12:18:13
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32004