r242751 - in /trunk/gcc: ChangeLog fold-const.c...
amker@gcc.gnu.org
amker@gcc.gnu.org
Wed Nov 23 12:47:00 GMT 2016
Author: amker
Date: Wed Nov 23 12:47:31 2016
New Revision: 242751
URL: https://gcc.gnu.org/viewcvs?rev=242751&root=gcc&view=rev
Log:
* fold-const.c (fold_cond_expr_with_comparison): Move simplification
for A == C1 ? A : C2 to below.
* match.pd: Move from above to here:
(cond (eq (convert1? x) c1) (convert2? x) c2)
-> (cond (eq x c1) c1 c2).
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/match.pd
More information about the Gcc-cvs
mailing list