projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6c2a93
)
java-tree.def (CASE_EXPR, [...]): Kind is 'x', not '1'.
author
Per Bothner
<bothner@gcc.gnu.org>
Tue, 24 Nov 1998 13:16:04 +0000
(
05:16
-0800)
committer
Per Bothner
<bothner@gcc.gnu.org>
Tue, 24 Nov 1998 13:16:04 +0000
(
05:16
-0800)
�
* 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
patch
|
blob
|
history
diff --git
a/gcc/java/java-tree.def
b/gcc/java/java-tree.def
index b367066aa3126fae42f01732104b2d7a9b889c6f..ed30c7beac2e795e5e248044d39ec1c123a21e23 100644
(file)
--- 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,