java-tree.def (CASE_EXPR, [...]): Kind is 'x', not '1'.

�
	* 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: r23830
This commit is contained in:
Per Bothner 1998-11-24 05:16:05 -08:00
parent 5863017420
commit 10100cc79c

View File

@ -7212,6 +7212,7 @@ java_complete_tree (node)
TREE_OPERAND (node, 0) = cn;
TREE_TYPE (node) = void_type_node;
CAN_COMPLETE_NORMALLY (node) = 1;
TREE_SIDE_EFFECTS (node) = 1;
break;
case DEFAULT_EXPR:
@ -7227,6 +7228,7 @@ java_complete_tree (node)
else
SWITCH_HAS_DEFAULT (nn) = 1;
TREE_TYPE (node) = void_type_node;
TREE_SIDE_EFFECTS (node) = 1;
CAN_COMPLETE_NORMALLY (node) = 1;
break;