------- Comment #3 from steven at gcc dot gnu dot org 2009-07-13 10:10 ------- And no, it is *not* OK to remove this kind of redundant code in DCE. The load may be redundant, but it is not dead.
It is not clear to me why cleanup_cfg would move that insn. Perhaps you can show what is going on with the RTL dumps (use -fdump-rtl-all-slim for the most readable results). -- steven at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-07-13 10:10:07 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40730