[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug tree-optimization/27144] [4.2 regression] segfault with -O2 on x86_64 (and powerpc64)




------- Comment #7 from rakdver at gcc dot gnu dot org  2006-05-01 19:42 -------
Subject: Bug 27144

Author: rakdver
Date: Mon May  1 19:42:01 2006
New Revision: 113425

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113425
Log:
        PR tree-optimization/27144
        * tree-ssa-loop-niter.c (derive_constant_upper_bound): New function.
        (record_estimate): Only record constant upper bound.
        (infer_loop_bounds_from_undefined): Call
        compute_estimated_nb_iterations just once.
        (proved_non_wrapping_p): Renamed to ...
        (n_of_executions_at_most): ... this.  Expect bound to be a constant.
        (convert_step_widening, scev_probably_wraps_p): Call
        n_of_executions_at_most instead of proved_non_wrapping_p.
        (substitute_in_loop_info): Do not replace values in bounds.
        * cfgloop.h (struct nb_iter_bound): Remove "additional" field.  Update
        comments.

        * gcc.dg/tree-ssa/loop-16.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/loop-16.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgloop.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-loop-niter.c


-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



Reply to: