http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37273
--- Comment #12 from Jeffrey A. Law <law at gcc dot gnu.org> 2011-02-15 21:22:03 UTC --- Author: law Date: Tue Feb 15 21:21:59 2011 New Revision: 170199 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170199 Log: Revert 2011-01-25 Jeff Law <l...@redhat.com> 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