r255829 - in /trunk/gcc: ChangeLog predict.c

jakub@gcc.gnu.org jakub@gcc.gnu.org
Tue Dec 19 16:43:00 GMT 2017


Author: jakub
Date: Tue Dec 19 16:43:04 2017
New Revision: 255829

URL: https://gcc.gnu.org/viewcvs?rev=255829&root=gcc&view=rev
Log:
	PR middle-end/81914
	* predict.c (zero_one_minusone): New function.
	(apply_return_prediction): Avoid return prediction for functions
	returning only -1, 0 and 1 values, unless they only return -1 and 0
	or 0 and 1.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/predict.c



More information about the Gcc-cvs mailing list