patch-gcc_flow_c 606 B

1234567891011121314151617
  1. $OpenBSD: patch-gcc_flow_c,v 1.1 2013/08/09 08:52:03 miod Exp $
  2. --- gcc/flow.c.orig Wed Nov 28 21:54:54 2012
  3. +++ gcc/flow.c Thu Aug 8 21:56:17 2013
  4. @@ -2702,10 +2702,12 @@ mark_set_1 (pbi, code, reg, cond, insn, flags)
  5. if (insn && GET_CODE (reg) == MEM)
  6. for_each_rtx (&PATTERN (insn), invalidate_mems_from_autoinc, pbi);
  7. +#ifndef FLOW_DEAD_STORES_BROKEN_P
  8. if (GET_CODE (reg) == MEM && ! side_effects_p (reg)
  9. /* ??? With more effort we could track conditional memory life. */
  10. && ! cond)
  11. add_to_mem_set_list (pbi, canon_rtx (reg));
  12. +#endif
  13. }
  14. if (GET_CODE (reg) == REG