This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r188017 - in /branches/google/gcc-4_6/gcc: Chan...
- From: dehao at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 30 May 2012 13:33:26 -0000
- Subject: r188017 - in /branches/google/gcc-4_6/gcc: Chan...
Author: dehao
Date: Wed May 30 13:33:25 2012
New Revision: 188017
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188017
Log:
2012-05-30 Dehao Chen <dehao@google.com>
* predict.c (predict_extra_loop_exit): New function to predict for
extra loop exits resulted from short-circuit conditions.
* g++.dg/predict-loop-exit-1.C: New test.
* g++.dg/predict-loop-exit-2.C: New test.
* g++.dg/predict-loop-exit-3.C: New test.
Added:
branches/google/gcc-4_6/gcc/testsuite/g++.dg/predict-loop-exit-1.C
branches/google/gcc-4_6/gcc/testsuite/g++.dg/predict-loop-exit-2.C
branches/google/gcc-4_6/gcc/testsuite/g++.dg/predict-loop-exit-3.C
Modified:
branches/google/gcc-4_6/gcc/ChangeLog.google-4_6
branches/google/gcc-4_6/gcc/predict.c
branches/google/gcc-4_6/gcc/testsuite/ChangeLog.google-4_6