From 5863017420e16387d88894a229498cc00b481831 Mon Sep 17 00:00:00 2001
From: Per Bothner <bothner@gcc.gnu.org>
Date: Tue, 24 Nov 1998 05:16:04 -0800
Subject: java-tree.def (CASE_EXPR, [...]): Kind is 'x', not '1'.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

�
	* java-tree.def (CASE_EXPR, DEFAULT_EXPR):  Kind is 'x', not '1'.
	* parse.y (java_complete_tree):  For CASE_EXPR and DEFAULT_EXPR,
	set TREE_SIDE_EFFECTS (otherwise expand_expr may skip them).

From-SVN: r23829
---
 gcc/java/java-tree.def | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'gcc/java/java-tree.def')

diff --git a/gcc/java/java-tree.def b/gcc/java/java-tree.def
index b367066..ed30c7be 100644
--- a/gcc/java/java-tree.def
+++ b/gcc/java/java-tree.def
@@ -35,10 +35,10 @@ DEFTREECODE (THIS_EXPR, "this", '1', 0)
 
 /* Case statement expression.
    Operand 1 is the case value.  */
-DEFTREECODE (CASE_EXPR, "case", '1', 1)
+DEFTREECODE (CASE_EXPR, "case", 'x', 1)
 
 /* Default statement expression. */
-DEFTREECODE (DEFAULT_EXPR, "default", '1', 0)
+DEFTREECODE (DEFAULT_EXPR, "default", 'x', 0)
 
 /* Try expression
    Operand 0 is the tried block,
-- 
cgit v1.1

