This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/52208] [4.7 Regression] Useless store
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Feb 2012 15:34:35 +0000
- Subject: [Bug rtl-optimization/52208] [4.7 Regression] Useless store
- Auto-submitted: auto-generated
- References: <bug-52208-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52208
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-16 15:34:35 UTC ---
Author: jakub
Date: Thu Feb 16 15:34:28 2012
New Revision: 184310
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184310
Log:
PR rtl-optimization/52208
* ira-costs.c (scan_one_insn): Don't decrease mem_cost
for MEMs with REG_EQUIV, if the MEM isn't general_operand.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ira-costs.c