r197478 - in /branches/gcc-4_6-branch/gcc: Chan...

mpolacek@gcc.gnu.org mpolacek@gcc.gnu.org
Thu Apr 4 11:03:00 GMT 2013


Author: mpolacek
Date: Thu Apr  4 11:03:11 2013
New Revision: 197478

URL: http://gcc.gnu.org/viewcvs?rev=197478&root=gcc&view=rev
Log:
        Backported from mainline
        2013-01-09  Steven Bosscher  <steven@gcc.gnu.org>
                    Jakub Jelinek  <jakub@redhat.com>

        PR tree-optimization/48189
        * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
        If nitercst is 0, don't predict the exit edge.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr48189.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/predict.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list