aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.def
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2001-03-19 18:53:04 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-03-19 18:53:04 +0000
commit68e568c28eb6e4d15b06dc23b27168e783ce008c (patch)
treeb54bc88743a41fe139d4d714ef19b50f51dcb79b /gcc/tree.def
parentd4b6faf649a1b8f5d84e1e1711a8e66476250de3 (diff)
downloadgcc-68e568c28eb6e4d15b06dc23b27168e783ce008c.zip
gcc-68e568c28eb6e4d15b06dc23b27168e783ce008c.tar.gz
gcc-68e568c28eb6e4d15b06dc23b27168e783ce008c.tar.bz2
cse.c (find_comparison_args): Update documentation.
* cse.c (find_comparison_args): Update documentation. Fix mishandling of COMPARE operations. * tree.def (ABS_EXPR): Add documentation. * fold-const.c (fold): Improve folding of ABS_EXPRs. From-SVN: r40630
Diffstat (limited to 'gcc/tree.def')
-rw-r--r--gcc/tree.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/tree.def b/gcc/tree.def
index 4ccd6e3..399e057 100644
--- a/gcc/tree.def
+++ b/gcc/tree.def
@@ -602,7 +602,13 @@ DEFTREECODE (NEGATE_EXPR, "negate_expr", '1', 1)
DEFTREECODE (MIN_EXPR, "min_expr", '2', 2)
DEFTREECODE (MAX_EXPR, "max_expr", '2', 2)
+
+/* Represents the absolute value of the operand.
+
+ An ABS_EXPR must have either an INTEGER_TYPE or a REAL_TYPE. The
+ operand of the ABS_EXPR must have the same type. */
DEFTREECODE (ABS_EXPR, "abs_expr", '1', 1)
+
DEFTREECODE (FFS_EXPR, "ffs_expr", '1', 1)
/* Shift operations for shift and rotate.