diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2003-06-14 17:33:32 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2003-06-14 17:33:32 +0000 |
commit | ee6b0296b84001a2f69ddebc43d32e4f1e83f1a6 (patch) | |
tree | 3a642a41fe4a4649fb76618134dd1dd6cab8d451 /gcc/ada | |
parent | 2fbe6bc2ba00c56ea66269ba842278764bd89c8e (diff) | |
download | gcc-ee6b0296b84001a2f69ddebc43d32e4f1e83f1a6.zip gcc-ee6b0296b84001a2f69ddebc43d32e4f1e83f1a6.tar.gz gcc-ee6b0296b84001a2f69ddebc43d32e4f1e83f1a6.tar.bz2 |
tree.h (init_function_start): Remove filename and line paramters.
* tree.h (init_function_start): Remove filename and line paramters.
* function.c (init_function_start): Remove filename and line
parameters. Use DECL_SOURCE_LOCATION.
* c-decl.c (store_parm_decls): Adjust init_function_start call.
(c_expand_body_1): Likewise.
* coverage.c (create_coverage): Likewise.
* ada/utils.c (begin_subprog_body): Adjust init_function_start
call.
* cp/decl.c (start_function): Adjust init_function_start call.
* cp/method.c (use_thunk): Likewise.
* cp/semantics.c (genrtl_start_function): Likewise.
* f/com.c (stor_parm_decls): Adjust init_function_start call.
* java/class.c (emit_register_classes): Adjust init_function_start
call.
* java/decl.c (complete_start_java_method): Likewise.
* java/resource.c (write_resource_constructor): Likewise.
* objc/objc-act.c (build_tmp_function_decl): Set line number to
zero.
(hack_method_prototype): Adjust init_function_start call.
* treelang/treetree.c (tree_code_create_function_initial): Adjust
init_function_start call.
From-SVN: r67953
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 a0bdb47..740f535 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2003-06-14 Nathan Sidwell <nathan@codesourcery.com> + + * utils.c (begin_subprog_body): Adjust init_function_start call. + 2003-06-14 Neil Booth <neil@daikokuya.co.uk> * Make-lang.in: Update to use options.c and options.h. diff --git a/gcc/ada/utils.c b/gcc/ada/utils.c index a88c9a3..5eeca2b 100644 --- a/gcc/ada/utils.c +++ b/gcc/ada/utils.c @@ -1774,7 +1774,7 @@ begin_subprog_body (subprog_decl) /* Store back the PARM_DECL nodes. They appear in the right order. */ DECL_ARGUMENTS (subprog_decl) = getdecls (); - init_function_start (subprog_decl, input_filename, input_line); + init_function_start (subprog_decl); expand_function_start (subprog_decl, 0); /* If this function is `main', emit a call to `__main' |