------- Comment #6 from pinskia at gcc dot gnu dot org  2008-12-29 19:38 -------
(In reply to comment #4)
> The idea is simple - delete redundant stores whose RHS have the same
> value-number as the LHS.

Which is basically what postreload CSE does really:
      if (!count && reload_cse_noop_set_p (body))
        {
          rtx value = SET_DEST (body);
          if (REG_P (value)
              && ! REG_FUNCTION_VALUE_P (value))
            value = 0;
          delete_insn_and_edges (insn);
          return;
        }

:)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38513

Reply via email to