aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>1999-11-27 13:50:13 +0000
committerRichard Kenner <kenner@gcc.gnu.org>1999-11-27 08:50:13 -0500
commit1baa375feaa22e3dbf6df7a066ba0d4a2b3a02d8 (patch)
tree368881c3a9ecac0c1c9c28d7d35bd0a9485737fe /gcc/combine.c
parenta8b64d6cf40a262116836ced24027faf5c39e5c6 (diff)
downloadgcc-1baa375feaa22e3dbf6df7a066ba0d4a2b3a02d8.zip
gcc-1baa375feaa22e3dbf6df7a066ba0d4a2b3a02d8.tar.gz
gcc-1baa375feaa22e3dbf6df7a066ba0d4a2b3a02d8.tar.bz2
fold-const.c (negate_expr, [...]): New.
* fold-const.c (negate_expr, associate_trees, extract_muldiv): New. (split_tree): Completely rework to make more general. (make_range, fold): Call negate_expr. (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math. (fold, associate): Call new split_tree and associate_trees. (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv. From-SVN: r30673
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions