r198085 - in /branches/gcc-4_7-branch/gcc: Chan...

mpolacek@gcc.gnu.org mpolacek@gcc.gnu.org
Fri Apr 19 08:18:00 GMT 2013


Author: mpolacek
Date: Fri Apr 19 08:18:29 2013
New Revision: 198085

URL: http://gcc.gnu.org/viewcvs?rev=198085&root=gcc&view=rev
Log:
	Backport from mainline
	2013-01-08  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.

	* gcc.dg/pr48189.c: New test.


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



More information about the Gcc-cvs mailing list