diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-20 09:08:23 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-20 09:08:23 +0000 |
commit | 014d421e52d46e7a7e276199c9d883abed51569b (patch) | |
tree | 525f454b1423c8bdd021bc73e0febafbe12942c5 /gcc/ada | |
parent | 3286325f2426a35a661481de3f61f068ccdf3869 (diff) | |
download | gcc-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/ada')
-rw-r--r-- | gcc/ada/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ada/utils.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 2ac17b060c5..1fd2a5b3755 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2003-06-20 Nathan Sidwell <nathan@codesourcery.com> + + * utils.c (end_subprog_body): Adjust expand_function_end call. + 2003-06-16 Matt Kraai <kraai@alumni.cmu.edu> * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test diff --git a/gcc/ada/utils.c b/gcc/ada/utils.c index 5eeca2b6828..186b0fdb175 100644 --- a/gcc/ada/utils.c +++ b/gcc/ada/utils.c @@ -1801,7 +1801,7 @@ end_subprog_body () /* Mark the RESULT_DECL as being in this subprogram. */ DECL_CONTEXT (DECL_RESULT (current_function_decl)) = current_function_decl; - expand_function_end (input_filename, input_line, 0); + expand_function_end (); /* If this is a nested function, push a new GC context. That will keep local variables on the stack from being collected while we're doing |