This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/37273] [4.4/4.5/4.6 Regression] IRA does not re-materializes addresses (loads from the TOC)
- From: "law at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 25 Jan 2011 14:11:11 +0000
- Subject: [Bug rtl-optimization/37273] [4.4/4.5/4.6 Regression] IRA does not re-materializes addresses (loads from the TOC)
- Auto-submitted: auto-generated
- References: <bug-37273-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37273
--- Comment #8 from Jeffrey A. Law <law at gcc dot gnu.org> 2011-01-25 14:10:51 UTC ---
Author: law
Date: Tue Jan 25 14:10:46 2011
New Revision: 169231
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169231
Log:
PR rtl-optimization/37273
* ira-costs.c (scan_one_insn): Detect constants living in memory and
handle them like argument loads from stack slots. Do not double
count memory for memory constants and argument loads from stack slots.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ira-costs.c