This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/23821] [4.0/4.1/4.2 Regression] DOM and VRP creating harder to optimize code
- From: "rakdver at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Feb 2006 23:52:52 -0000
- Subject: [Bug tree-optimization/23821] [4.0/4.1/4.2 Regression] DOM and VRP creating harder to optimize code
- References: <bug-23821-5077@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from rakdver at gcc dot gnu dot org 2006-02-09 23:52 -------
There is no simple way how scev could determine that x == i at the end of loop
(unless we insert something like ASSERT_EXPRs at the condition). Persuading
dom and VRP not to perform this transformation would probably be much easier.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23821