This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/22532] [4.1 Regression] We produce worse code on the mainline for a loop
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jul 2005 06:43:49 -0000
- Subject: [Bug tree-optimization/22532] [4.1 Regression] We produce worse code on the mainline for a loop
- References: <20050717205007.22532.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-18 06:43 -------
Created an attachment (id=9298)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9298&action=view)
patch which I need to test
This patch which needs more comments but should be complete otherwise. This
implements my suggesting for following PHI nodes.
It also cleans up some of the code by doing bsi_next/continue only in one
place.
ChangeLog:
(remove_useless_store_vop_expr): New function.
(remove_useless_store_p): New function.
(do_eustores): Use remove_useless_store_p.
Daniel what do you think about this patch? If you could suggest better
function names because I could not think of better name as it is late.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22532