> Both of these are fixed in the i386 backend. As a further safety > measure, I've added some extra code to regrename to ignore stack regs > after regstack_complete - they can't be dealt with anymore.
+#ifdef STACK_REGS + if (regstack_completed + && REG_P (recog_data.operand[i]) + && IN_RANGE (REGNO (recog_data.operand[i]), + FIRST_STACK_REG, LAST_STACK_REG)) + untracked_operands |= 1 << i; +#endif Why not use "op" instead of recog_data.operand[i] here? Don't this need to be placed before the conditional call to create_new_chain? -- Eric Botcazou