[Bug tree-optimization/58697] [4.8/4.9 Regression] wrong code (segfaults) at -O3

amacleod at redhat dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 16 15:48:00 GMT 2013


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

--- Comment #6 from Andrew Macleod <amacleod at redhat dot com> ---
Author: amacleod
Date: Wed Oct 16 15:48:47 2013
New Revision: 203709

URL: http://gcc.gnu.org/viewcvs?rev=203709&root=gcc&view=rev
Log:

    PR tree-optimization/58697
    * cfgloop.c (get_estimated_loop_iterations_int): Rename from 
    estimated_loop_iterations_int.
    (max_stmt_executions_int): Call get_max_loop_iterations_int.
    (get_max_loop_iterations_int): New.  HWINT version of 
    get_max_loop_iterations.
    * cfgloop.h: Add prototypes.
    * loop-iv.c (find_simple_exit): call get_estimated_loop_iterations_int.
    * loop-unroll.c (decide_peel_once_rolling): Call 
    get_estimated_loop_iterations_int.
    * tree-ssa-loop-niter.c (estimated_loop_iterations_int): Add back.
    * tree-ssa-loop-niter.h: Tweak prototypes.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgloop.c
    trunk/gcc/cfgloop.h
    trunk/gcc/loop-iv.c
    trunk/gcc/loop-unroll.c
    trunk/gcc/loop-unswitch.c
    trunk/gcc/tree-ssa-loop-niter.c
    trunk/gcc/tree-ssa-loop-niter.h



More information about the Gcc-bugs mailing list