diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-29 20:27:58 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-29 20:27:58 +0000 |
commit | 0a4b7550b17edd976d0b8ade6e6773247f197acd (patch) | |
tree | 0723221bfba29b877b91a88f2e5750d5e84b6102 /gcc | |
parent | ed8bd5f435698c2188bcb1bf3209d709899a31fc (diff) | |
download | gcc-0a4b7550b17edd976d0b8ade6e6773247f197acd.tar.gz |
gcc:
* tree.c (build_block): Removed unused 'tags' argument.
* tree.h (build_block): Removed argument.
gcc/java:
* expr.c (build_jni_stub): Updated for change to build_block.
gcc/treelang:
* treetree.c (poplevel): Updated for change to build_block.
gcc/fortran:
* f95-lang.c (poplevel): Updated for change to build_block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99019 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/fortran/f95-lang.c | 2 | ||||
-rw-r--r-- | gcc/java/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/expr.c | 3 | ||||
-rw-r--r-- | gcc/tree.c | 3 | ||||
-rw-r--r-- | gcc/tree.h | 2 | ||||
-rw-r--r-- | gcc/treelang/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/treelang/treetree.c | 2 |
9 files changed, 22 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 14e936983c2..534dba62dc0 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 be24ec7658f..c50e32ef1d4 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 76b6fe37d46..7c472e0c03b 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 52a07778aab..d1776c51ee3 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 e61cd124159..3a4002bbb87 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 71ba456a58b..21e681c4ae2 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 9be439547d8..1d39f1cd81d 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 17dc156f4b7..26d9d45ec88 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 0a17d548897..d0f6f77be4d 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; |