diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-14 17:33:32 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-14 17:33:32 +0000 |
commit | f0c569c760fbee1842d76f8fae86a84ca6101ba5 (patch) | |
tree | 3a642a41fe4a4649fb76618134dd1dd6cab8d451 /gcc/treelang | |
parent | fa470f09f159ea7c7dfa8aa9f071799df7b23f7d (diff) | |
download | gcc-f0c569c760fbee1842d76f8fae86a84ca6101ba5.tar.gz |
* 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/treelang')
-rw-r--r-- | gcc/treelang/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/treelang/treetree.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog index 710f468de2a..73c502ba168 100644 --- a/gcc/treelang/ChangeLog +++ b/gcc/treelang/ChangeLog @@ -1,3 +1,8 @@ +2003-06-14 Nathan Sidwell <nathan@codesourcery.com> + + * treetree.c (tree_code_create_function_initial): 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/treelang/treetree.c b/gcc/treelang/treetree.c index 40db1908517..bbc0c3fa66d 100644 --- a/gcc/treelang/treetree.c +++ b/gcc/treelang/treetree.c @@ -382,8 +382,7 @@ tree_code_create_function_initial (tree prev_saved, execute this? */ make_decl_rtl (fn_decl, NULL); - /* Use filename/lineno from above. */ - init_function_start (fn_decl, loc.file, loc.line); + init_function_start (fn_decl); /* Create rtl for startup code of function, such as saving registers. */ |