summaryrefslogtreecommitdiff
path: root/gcc/treelang
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-20 09:08:23 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-20 09:08:23 +0000
commit014d421e52d46e7a7e276199c9d883abed51569b (patch)
tree525f454b1423c8bdd021bc73e0febafbe12942c5 /gcc/treelang
parent3286325f2426a35a661481de3f61f068ccdf3869 (diff)
downloadgcc-014d421e52d46e7a7e276199c9d883abed51569b.tar.gz
* tree.h (expand_function_end): Remove all parameters.
* function.c (expand_function_end): Remove all parameters. Use input_location. Never expand_end_bindings. * c-decl.c (c_expand_body_1): Adjust expand_function_end call. * coverage.c (create_coverage): Likewise. * ada/utils.c (end_subprog_body): Adjust expand_function_end call. * cp/semantics.c (genrtl_finish_function): Adjust expand_function_end call. * f/com.c (finish_function): Adjust expand_function_end call. * java/class.c (push_class): Use a location_t to save place. (emit_register_classes): Set input_location. Adjust expand_function_end call. * java/resource.c (write_resource_constructor): Likewise. * java/decl.c (end_java_method): Adjust expand_function_end call. * java/parse.y (source_end_java_method): Likewise. * treelang/treetree.c (tree_code_create_function_wrapup): Adjust expand_function_end call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68255 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/treelang')
-rw-r--r--gcc/treelang/ChangeLog5
-rw-r--r--gcc/treelang/treetree.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog
index a9003784e01..cd821889855 100644
--- a/gcc/treelang/ChangeLog
+++ b/gcc/treelang/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
+
+ * treetree.c (tree_code_create_function_wrapup): Adjust
+ expand_function_end call.
+
2003-06-18 Nathan Sidwell <nathan@codesourcery.com>
* treetree.c (build_stmt): Remove VPARAMS.
diff --git a/gcc/treelang/treetree.c b/gcc/treelang/treetree.c
index 11f59d0efce..57a4a48fbfd 100644
--- a/gcc/treelang/treetree.c
+++ b/gcc/treelang/treetree.c
@@ -452,7 +452,7 @@ tree_code_create_function_wrapup (location_t loc)
/* Emit rtl for end of function. */
- expand_function_end (loc.file, loc.line, 0);
+ expand_function_end ();
/* Pop the level. */