summaryrefslogtreecommitdiff
path: root/gcc/tree.def
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-19 18:53:04 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-19 18:53:04 +0000
commit43dd9cb8ec82010d0b84417dd64ec0f444c4b14c (patch)
treeb54bc88743a41fe139d4d714ef19b50f51dcb79b /gcc/tree.def
parent3189304f5512a6bbaaa97ac5ec7a3f58dcbec550 (diff)
downloadgcc-43dd9cb8ec82010d0b84417dd64ec0f444c4b14c.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40630 138bc75d-0d04-0410-961f-82ee72b054a4
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 4ccd6e38944..399e05706a8 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.