[Bug inline-asm/22045] can't find a register in class 'GENERAL_REGS'

vda at port dot imtp dot ilyichevsk dot odessa dot ua gcc-bugzilla@gcc.gnu.org
Tue Jun 14 07:06:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list