summaryrefslogtreecommitdiffstats
path: root/gcc/ada/utils.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-14 17:33:32 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-14 17:33:32 +0000
commitf0c569c760fbee1842d76f8fae86a84ca6101ba5 (patch)
tree3a642a41fe4a4649fb76618134dd1dd6cab8d451 /gcc/ada/utils.c
parentfa470f09f159ea7c7dfa8aa9f071799df7b23f7d (diff)
downloadppe42-gcc-f0c569c760fbee1842d76f8fae86a84ca6101ba5.tar.gz
ppe42-gcc-f0c569c760fbee1842d76f8fae86a84ca6101ba5.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67953 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/utils.c')
-rw-r--r--gcc/ada/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/utils.c b/gcc/ada/utils.c
index a88c9a3219b..5eeca2b6828 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'
OpenPOWER on IntegriCloud