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: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Oct 2007 13:32:24 -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 #7 from steven at gcc dot gnu dot org 2007-10-16 13:32 -------
I would expect that tail merging (cross-jumping in gcc jargon) would merge the
two paths.
Better yet would be to optimize this earlier, and for that we need code
hoisting (re. comment #1, I think it is eliminated because we run code hoisting
at -Os).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24001