This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r217039 - in /trunk/gcc: ChangeLog fold-const.c...
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 03 Nov 2014 12:59:47 -0000
- Subject: r217039 - in /trunk/gcc: ChangeLog fold-const.c...
Author: rguenth
Date: Mon Nov 3 12:59:47 2014
New Revision: 217039
URL: https://gcc.gnu.org/viewcvs?rev=217039&root=gcc&view=rev
Log:
2014-11-03 Richard Biener <rguenther@suse.de>
* match.pd: Add two abs patterns. Announce tree_expr_nonnegative_p.
Also drop bogus FLOAT_EXPR and FIX_TRUNC_EXPR.
* fold-const.c (fold_unary_loc): Remove them here.
(tree_unary_nonnegative_warnv_p): Use CASE_CONVERT.
* gimple-fold.c (fold_gimple_assign): Remove now obsolete
GIMPLE_UNARY_RHS case.
(gimple_fold_stmt_to_constant_1): Likewise.
(replace_stmt_with_simplification): Fix inverted comparison.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/gimple-fold.c
trunk/gcc/match.pd