This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/13037] [3.3 regression] [gcse-lm] g77 generates incorrect code
- From: "janis187 at us dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Dec 2003 00:29:41 -0000
- Subject: [Bug optimization/13037] [3.3 regression] [gcse-lm] g77 generates incorrect code
- References: <20031113124715.13037.smelkov@mph1.phys.spbu.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From janis187 at us dot ibm dot com 2003-12-02 00:29 -------
The regression in PR 13037 was fixed on the mainline with this patch:
2003-04-18 Hans-Peter Nilsson <hp@bitrange.com>
* gcse.c (compute_ld_motion_mems): For MEM destinations, only
consider those to be movable where the source matches
want_to_gcse_p.
(update_ld_motion_stores): In comment, refer to
compute_ld_motion_mems for validity of replacement.
Roger Sayle asked me to identify the fix on the mainline so he can
port it to the 3.3 branch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13037