aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2003-06-20 09:08:23 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2003-06-20 09:08:23 +0000
commit1f9cc6db1b6ea3576abbdf5467abfd3a6ff8e520 (patch)
tree525f454b1423c8bdd021bc73e0febafbe12942c5 /gcc/cp
parentbbdfb3e8216ef29c48e73a530fe75dba987af6bf (diff)
downloadgcc-1f9cc6db1b6ea3576abbdf5467abfd3a6ff8e520.zip
gcc-1f9cc6db1b6ea3576abbdf5467abfd3a6ff8e520.tar.gz
gcc-1f9cc6db1b6ea3576abbdf5467abfd3a6ff8e520.tar.bz2
tree.h (expand_function_end): Remove all parameters.
* 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. From-SVN: r68255
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/semantics.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 32532d8..f924112 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
+
+ * semantics.c (genrtl_finish_function): Adjust
+ expand_function_end call.
+
2003-06-19 Mark Mitchell <mark@codesourcery.com>
PR c++/10939
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index a95c957..bb55b75 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -2542,7 +2542,7 @@ genrtl_finish_function (tree fn)
immediate_size_expand = 1;
/* Generate rtl for function exit. */
- expand_function_end (input_filename, input_line, 0);
+ expand_function_end ();
/* If this is a nested function (like a template instantiation that
we're compiling in the midst of compiling something else), push a