This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/22045] can't find a register in class 'GENERAL_REGS'
- From: "vda at port dot imtp dot ilyichevsk dot odessa dot ua" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jun 2005 07:06:12 -0000
- Subject: [Bug inline-asm/22045] can't find a register in class 'GENERAL_REGS'
- References: <20050613133124.22045.macro@linux-mips.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From vda at port dot imtp dot ilyichevsk dot odessa dot ua 2005-06-14 07:06 -------
If I understand this correctly, older GCCs were able to
figure out that when there is 5 registers available,
"=&g" (__d3) can olny be matched with memory (on-stack local var)
whereas with 6 regs it can use a register.
But newer GCC cannot and we need to explicitly say "=m".
Isn't it a regression?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22045