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 target/45670] [4.6 Regression] Less efficient x86 addressing mode selection on 4.6, causes -Os size regression from 4.5


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-05 19:00:32 UTC ---
Author: jakub
Date: Fri Nov  5 19:00:27 2010
New Revision: 166371

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166371
Log:
    PR target/45670
    * expr.c (expand_expr_real_1) <case MEM_REF>: Use EXPAND_SUM
    instead of EXPAND_NORMAL for base expansion.

    * gcc.target/i386/pr45670.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr45670.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/testsuite/ChangeLog


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