> 2015-02-02 Jakub Jelinek <ja...@redhat.com> > > PR rtl-optimization/64756 > * cse.c (cse_insn): If dest != SET_DEST (sets[i].rtl) and > HASH (SET_DEST (sets[i].rtl), mode) computation sets do_not_record, > invalidate and do not record it. > > * gcc.c-torture/execute/pr64756.c: New test.
OK if you factor out the common code with the similar block for 'dest' above into an invalidate_dest function (note that the MEM_P case is identical to the REG_P and SUBREG cases) and invoke it on 'dest' and SET_DEST (sets[i].rtl). -- Eric Botcazou