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 tree-optimization/68599] [6 Regression] gcc.dg/tree-ssa/pr45122.c and tree-vrp.c


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68599

--- Comment #5 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Thu Dec  3 15:40:08 2015
New Revision: 231231

URL: https://gcc.gnu.org/viewcvs?rev=231231&root=gcc&view=rev
Log:
[PR tree-optimization/68599] Avoid over-zealous optimization with
-funsafe-loop-optimizations

        PR tree-optimization/68599
        * loop-init.c (rtl_loop_init): Set LOOPS_HAVE_RECORDED_EXITS
        in call to loop_optimizer_init.
        * loop-iv.c (get_simple_loop_desc): Only allow unsafe loop
        optimization to drop the assumptions/infinite notations if
        the loop has a single exit.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/loop-init.c
    trunk/gcc/loop-iv.c

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