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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Aug 29 13:09:26 2013
New Revision: 202072

URL: http://gcc.gnu.org/viewcvs?rev=202072&root=gcc&view=rev
Log:
    Backported from mainline
    2013-05-27  Richard Biener  <rguent...@suse.de>

    PR tree-optimization/57343
    * tree-ssa-loop-niter.c (number_of_iterations_ne_max): Do not
    use multiple_of_p if not TYPE_OVERFLOW_UNDEFINED.
    (number_of_iterations_cond): Do not build the folded tree.

    * gcc.dg/torture/pr57343.c: New testcase.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/torture/pr57343.c
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_8-branch/gcc/tree-ssa-loop-niter.c

Reply via email to