r216394 - in /trunk/gcc: ChangeLog fold-const.c...

rguenth@gcc.gnu.org rguenth@gcc.gnu.org
Fri Oct 17 11:32:00 GMT 2014


Author: rguenth
Date: Fri Oct 17 11:32:12 2014
New Revision: 216394

URL: https://gcc.gnu.org/viewcvs?rev=216394&root=gcc&view=rev
Log:
2014-10-17  Richard Biener  <rguenther@suse.de>

	* fold-const.c (fold_comparison): Remove redundant constant
	folding and operand swapping.
	(fold_binary_loc): Do comparison operand swapping here.
	(fold_ternary_loc): Canonicalize operand order for
	commutative ternary operations.
	* tree.c (commutative_ternary_tree_code): Add DOT_PROD_EXPR
	and FMA_EXPR.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/tree.c



More information about the Gcc-cvs mailing list