aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/fortran/ChangeLog4
-rw-r--r--gcc/fortran/f95-lang.c2
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/expr.c3
-rw-r--r--gcc/tree.c3
-rw-r--r--gcc/tree.h2
-rw-r--r--gcc/treelang/ChangeLog4
-rw-r--r--gcc/treelang/treetree.c2
9 files changed, 22 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 14e9369..534dba6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-29 Tom Tromey <tromey@redhat.com>
+
+ * tree.c (build_block): Removed unused 'tags' argument.
+ * tree.h (build_block): Removed argument.
+
2005-04-29 Michael Matz <matz@suse.de>
PR rtl-optimization/21144
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index be24ec7..c50e32e 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-29 Tom Tromey <tromey@redhat.com>
+
+ * f95-lang.c (poplevel): Updated for change to build_block.
+
2005-04-29 Jakub Jelinek <jakub@redhat.com>
PR fortran/13082
diff --git a/gcc/fortran/f95-lang.c b/gcc/fortran/f95-lang.c
index 76b6fe3..7c472e0 100644
--- a/gcc/fortran/f95-lang.c
+++ b/gcc/fortran/f95-lang.c
@@ -420,7 +420,7 @@ poplevel (int keep, int reverse, int functionbody)
binding level is a function body, or if there are any nested blocks then
create a BLOCK node to record them for the life of this function. */
if (keep || functionbody)
- block_node = build_block (keep ? decl_chain : 0, 0, subblock_chain, 0, 0);
+ block_node = build_block (keep ? decl_chain : 0, subblock_chain, 0, 0);
/* Record the BLOCK node just built as the subblock its enclosing scope. */
for (subblock_node = subblock_chain; subblock_node;
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 52a0777..d1776c5 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-29 Tom Tromey <tromey@redhat.com>
+
+ * expr.c (build_jni_stub): Updated for change to build_block.
+
2005-04-29 Andrew Pinski <pinskia@gcc.gnu.org>
* expr.c (force_evaluation_order): Declare 'saved' earlier.
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index e61cd12..3a4002b 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -2513,8 +2513,7 @@ build_jni_stub (tree method)
method_args = DECL_ARGUMENTS (method);
else
method_args = BLOCK_EXPR_DECLS (DECL_FUNCTION_BODY (method));
- block = build_block (env_var, NULL_TREE, NULL_TREE,
- method_args, NULL_TREE);
+ block = build_block (env_var, NULL_TREE, method_args, NULL_TREE);
TREE_SIDE_EFFECTS (block) = 1;
/* When compiling from source we don't set the type of the block,
because that will prevent patch_return from ever being run. */
diff --git a/gcc/tree.c b/gcc/tree.c
index 71ba456..21e681c 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -2830,8 +2830,7 @@ build_fn_decl (const char *name, tree type)
compiled. This information is used for outputting debugging info. */
tree
-build_block (tree vars, tree tags ATTRIBUTE_UNUSED, tree subblocks,
- tree supercontext, tree chain)
+build_block (tree vars, tree subblocks, tree supercontext, tree chain)
{
tree block = make_node (BLOCK);
diff --git a/gcc/tree.h b/gcc/tree.h
index 9be4395..1d39f1c 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2905,7 +2905,7 @@ extern tree build_tree_list_stat (tree, tree MEM_STAT_DECL);
extern tree build_decl_stat (enum tree_code, tree, tree MEM_STAT_DECL);
extern tree build_fn_decl (const char *, tree);
#define build_decl(c,t,q) build_decl_stat (c,t,q MEM_STAT_INFO)
-extern tree build_block (tree, tree, tree, tree, tree);
+extern tree build_block (tree, tree, tree, tree);
#ifndef USE_MAPPED_LOCATION
extern void annotate_with_file_line (tree, const char *, int);
extern void annotate_with_locus (tree, location_t);
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog
index 17dc156..26d9d45 100644
--- a/gcc/treelang/ChangeLog
+++ b/gcc/treelang/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-29 Tom Tromey <tromey@redhat.com>
+
+ * treetree.c (poplevel): Updated for change to build_block.
+
2005-04-23 DJ Delorie <dj@redhat.com>
* parse.y: Adjust warning() callers.
diff --git a/gcc/treelang/treetree.c b/gcc/treelang/treetree.c
index 0a17d54..d0f6f77 100644
--- a/gcc/treelang/treetree.c
+++ b/gcc/treelang/treetree.c
@@ -1023,7 +1023,7 @@ poplevel (int keep, int reverse, int functionbody)
binding level is a function body, or if there are any nested blocks then
create a BLOCK node to record them for the life of this function. */
if (keep || functionbody)
- block_node = build_block (keep ? decl_chain : 0, 0, subblock_chain, 0, 0);
+ block_node = build_block (keep ? decl_chain : 0, subblock_chain, 0, 0);
/* Record the BLOCK node just built as the subblock its enclosing scope. */
for (subblock_node = subblock_chain; subblock_node;