This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/46164] Local variables in specified registers don't work correctly with inline asm operands
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 27 Oct 2010 21:13:07 +0000
- Subject: [Bug middle-end/46164] Local variables in specified registers don't work correctly with inline asm operands
- Auto-submitted: auto-generated
- References: <bug-46164-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46164
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ra, wrong-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.10.27 21:13:00
Ever Confirmed|0 |1
Known to fail| |4.1.2, 4.3.2, 4.6.0
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-10-27 21:13:00 UTC ---
Confirmed, The register allocator is causing it. I think it does not take into
account the "&" so reload will correct it. (this was true at least in the old
RA in 4.3 and before).