summaryrefslogtreecommitdiff
path: root/gcc/tree.def
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree.def')
-rw-r--r--gcc/tree.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree.def b/gcc/tree.def
index 2ebee91236c..7d9709cc35a 100644
--- a/gcc/tree.def
+++ b/gcc/tree.def
@@ -514,12 +514,13 @@ DEFTREECODE (BIT_NOT_EXPR, "bit_not_expr", "1", 1)
/* Combination of boolean values or of integers considered only
as zero or nonzero. ANDIF and ORIF allow the second operand
not to be computed if the value of the expression is determined
- from the first operand. AND and OR always compute the second
+ from the first operand. AND, OR, and XOR always compute the second
operand whether its value is needed or not (for side effects). */
DEFTREECODE (TRUTH_ANDIF_EXPR, "truth_andif_expr", "e", 2)
DEFTREECODE (TRUTH_ORIF_EXPR, "truth_orif_expr", "e", 2)
DEFTREECODE (TRUTH_AND_EXPR, "truth_and_expr", "2", 2)
DEFTREECODE (TRUTH_OR_EXPR, "truth_or_expr", "2", 2)
+DEFTREECODE (TRUTH_XOR_EXPR, "truth_xor_expr", "2", 2)
DEFTREECODE (TRUTH_NOT_EXPR, "truth_not_expr", "e", 1)
/* Relational operators.