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/54937] Invalid loop bound estimate


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

--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-10-23 10:00:24 UTC ---
Author: hubicka
Date: Tue Oct 23 10:00:19 2012
New Revision: 192710

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

    PR middle-end/54937
    * tree-ssa-loop-niter.c (record_estimate): Do not try to lower
    the bound of non-is_exit statements.
    (maybe_lower_iteration_bound): Do it here.
    (estimate_numbers_of_iterations_loop): Call it.
    * gcc.c-torture/execute/pr54937.c: New testcase.
    * gcc.dg/tree-ssa/cunroll-2.c: Update.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr54937.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/tree-ssa/cunroll-2.c
    trunk/gcc/tree-ssa-loop-niter.c


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