aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-02-19 14:39:55 -0800
committerRichard Henderson <rth@gcc.gnu.org>2004-02-19 14:39:55 -0800
commit4221057e8f2e0e6425b61952bc06b1904681bf69 (patch)
tree94df3d1c9f4ce657fd99d4dcc5822e2ca9695645 /gcc/java
parente5b792193379be3beab505f1a72fb4fedaf62e6b (diff)
downloadgcc-4221057e8f2e0e6425b61952bc06b1904681bf69.zip
gcc-4221057e8f2e0e6425b61952bc06b1904681bf69.tar.gz
gcc-4221057e8f2e0e6425b61952bc06b1904681bf69.tar.bz2
Makefile.in (STRICT2_WARN): Add -Wno-variadic-macros.
* Makefile.in (STRICT2_WARN): Add -Wno-variadic-macros. * tree.c (build0, build1, build2, build3, build4): Split out from... (build): ... here. Call them. * tree.h (build, _buildN1, _buildN2, _buildC1, _buildC2): New. * convert.c (convert_to_integer): Remove extra build argument. * tree-inline.c (expand_call_inline): Likewise. ada/ * misc.c (record_code_position): Add third build arg for RTL_EXPR. java/ * parse.y (switch_label): Use make_node for DEFAULT_EXPR. From-SVN: r78126
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/parse.y2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 63d844b..a0568c7 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,7 @@
+2004-02-19 Richard Henderson <rth@redhat.com>
+
+ * parse.y (switch_label): Use make_node for DEFAULT_EXPR.
+
2004-02-16 Geoffrey Keating <geoffk@apple.com>
* Make-lang.in (java.install-man): Add extra dependencies.
diff --git a/gcc/java/parse.y b/gcc/java/parse.y
index 390b8cd..72cc9f3 100644
--- a/gcc/java/parse.y
+++ b/gcc/java/parse.y
@@ -1635,7 +1635,7 @@ switch_label:
}
| DEFAULT_TK REL_CL_TK
{
- tree lab = build (DEFAULT_EXPR, NULL_TREE, NULL_TREE);
+ tree lab = make_node (DEFAULT_EXPR);
EXPR_WFL_LINECOL (lab) = $1.location;
java_method_add_stmt (current_function_decl, lab);
}