This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r171111 - in /trunk/gcc: ChangeLog ira-costs.c
- From: law at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 17 Mar 2011 20:08:02 -0000
- Subject: r171111 - in /trunk/gcc: ChangeLog ira-costs.c
Author: law
Date: Thu Mar 17 20:08:01 2011
New Revision: 171111
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171111
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