http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55686
Steven Bosscher <steven at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |steven at gcc dot gnu.org --- Comment #7 from Steven Bosscher <steven at gcc dot gnu.org> 2012-12-17 15:41:04 UTC --- (In reply to comment #6) > The problem here are the local register asm vars, we have tests like > !fixed_regs[DI_REG] all around the stos/etc. code, but that catches just > global register asm vars, not local ones. Perhaps we should gather during > expansion time or so what local register asm vars are being used in the > current function, and use that along with the global vars tests. There is already cfun->has_local_explicit_reg_vars, it could be changed into a HARD_REG_SET to track which registers that'd be.