This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/37273] [4.4/4.5/4.6/4.7 Regression] IRA does not re-materializes addresses (loads from the TOC)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37273

--- Comment #14 from Jeffrey A. Law <law at gcc dot gnu.org> 2011-03-17 20:08:06 UTC ---
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]