http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48141
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-26 09:19:39 UTC --- Author: jakub Date: Sat Mar 26 09:19:36 2011 New Revision: 171545 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171545 Log: Backport from mainline 2011-03-17 Jakub Jelinek <ja...@redhat.com> PR rtl-optimization/48141 * dse.c (record_store): If no positions are needed in an insn that cannot be deleted, at least unchain it from active_local_stores. * gcc.dg/pr48141.c: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr48141.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/dse.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog