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/34012] [4.3 Regression] Pessimization caused by fwprop



------- Comment #10 from jakub at gcc dot gnu dot org  2007-11-09 13:03 -------
Subject: Bug 34012

Author: jakub
Date: Fri Nov  9 13:02:25 2007
New Revision: 130043

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130043
Log:
        PR rtl-optimization/34012
        * fwprop.c (try_fwprop_subst): Do not replace if the new
        SET_SRC has a higher cost than the old one.

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

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr34012.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fwprop.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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