r208840 - in /trunk/gcc: ChangeLog gimple-fold....

jakub@gcc.gnu.org jakub@gcc.gnu.org
Wed Mar 26 09:17:00 GMT 2014


Author: jakub
Date: Wed Mar 26 09:17:10 2014
New Revision: 208840

URL: http://gcc.gnu.org/viewcvs?rev=208840&root=gcc&view=rev
Log:
	* tree-vrp.c (simplify_internal_call_using_ranges): If only
	one range is range_int_cst_p, but not both, at least optimize
	addition/subtraction of 0 and multiplication by 0 or 1.
	* gimple-fold.c (gimple_fold_call): Fold
	IFN_UBSAN_CHECK_{ADD,SUB,MUL}.
	(gimple_fold_stmt_to_constant_1): If both op0 and op1 aren't
	INTEGER_CSTs, try to fold at least x * 0 and y - y.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-fold.c
    trunk/gcc/tree-vrp.c



More information about the Gcc-cvs mailing list