> 2011-11-21 Andreas Krebbel <andreas.kreb...@de.ibm.com> > > * postreload.c (reload_combine): Mark reg_state as invalid at > volatile insns if there has been a use already.
What do we gain in practice by invalidating conditionally? Probably nothing I'd say, so let's invalidate unconditionally like for CALL_P just below. + else if (INSN_P (insn) && volatile_insn_p (PATTERN (insn))) + /* Optimizations across insns being marked as volatile must be + prevented. All the usage information is invalidated here. */ + for (r = 0; r < FIRST_PSEUDO_REGISTER; r++) + reg_state[r].use_index = -1; OK with this change. -- Eric Botcazou