aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.def
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1992-12-30 06:00:39 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1992-12-30 06:00:39 -0500
commitb7b2fc98eb898ef71c600be270a47d173debba62 (patch)
tree26b4f46411ca3cce27b0cec524e8f571da02e19a /gcc/tree.def
parent79a365a71e7f8614265378acf7b7f7b364834724 (diff)
downloadgcc-b7b2fc98eb898ef71c600be270a47d173debba62.zip
gcc-b7b2fc98eb898ef71c600be270a47d173debba62.tar.gz
gcc-b7b2fc98eb898ef71c600be270a47d173debba62.tar.bz2
(TRUTH_XOR_EXPR): New tree code.
From-SVN: r2991
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 2ebee91..7d9709c 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.