[Bug rtl-optimization/37273] [4.4/4.5/4.6 Regression] IRA does not re-materializes addresses (loads from the TOC)
dnovillo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 2 17:47:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37273
--- Comment #11 from Diego Novillo <dnovillo at gcc dot gnu.org> 2011-02-02 17:46:20 UTC ---
Author: dnovillo
Date: Wed Feb 2 17:46:18 2011
New Revision: 169579
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169579
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:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/ira-costs.c
More information about the Gcc-bugs
mailing list