This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/24001] Simple redundancy not eliminated
- From: "dberlin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jan 2006 18:39:10 -0000
- Subject: [Bug tree-optimization/24001] Simple redundancy not eliminated
- References: <bug-24001-2744@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from dberlin at gcc dot gnu dot org 2006-01-03 18:39 -------
You are confused about what load PRE does. It will not lift these load because
it is not partially redundant.
You are looking for some sort of generic code hoister.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24001