diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2003-07-07 17:57:30 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2003-07-07 17:57:30 +0000 |
commit | 0cea056ba1409967d888007cf43e05ac4bd0003f (patch) | |
tree | 193bbe1a5e7e548cfde12119b9718bb33a509382 /gcc/f | |
parent | 8eb910fc139d3d9ecde0dbac534f48e89ab89659 (diff) | |
download | gcc-0cea056ba1409967d888007cf43e05ac4bd0003f.zip gcc-0cea056ba1409967d888007cf43e05ac4bd0003f.tar.gz gcc-0cea056ba1409967d888007cf43e05ac4bd0003f.tar.bz2 |
rtl.h (emit_line_note): Take a location_t.
* rtl.h (emit_line_note): Take a location_t.
(emit_line_note_force): Remove.
(set_file_and_line_for_statement): Take a location_t.
* tree.g (emit_line_note): Take a location_t.
* emit-rtl.c (emit_line_note): Take a location_t.
(emit_line_note_force): Remove.
* function.c (init_function_start): Adjust emit_line_note call.
(expand_function_end): Use force_next_line_note, not
emit_line_note_force.
* c-parse.in (maybe_type_qual): Adjust emit_line_note calls.
* c-semantics.c (genrtl_do_pushlevel, genrtl_goto_stmt,
genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt,
genrtl_while_stmt, genrtl_do_stmt_1, genrtl_return_stmt,
genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt,
genrtl_continue_stmt, genrtl_switch_stmt,
genrtl_asm_stmt): Likewise.
* expr.c (expand_expr): Likewise.
* integrate.c (expand_inline_function): Likewise.
* stmt.c (set_file_and_line_for_stmt): Take a location_t.
(expand_decl_init): Adjust emit_line_note call.
* ada/trans.c (build_unit_elab, set_lineno): Adjust emit_line_note
calls.
* cp/semantics.c: (genrtl_try_block) Adjust emit_line_note
calls.
* f/com.c (bison_rule_pushlevel_, bison_rule_compstmt_): Adjust
emit_line_note calls.
* f/ste.c (ffeste_emit_line_note_): Likewise.
* java/expr.c (expand_byte_code):
* treelang/treetree.c (tree_code_if_start, tree_code_if_else,
tree_code_if_end, tree_code_create_function_initial,
tree_code_create_function_wrapup, tree_code_generate_return,
tree_code_output_expression_statement): Adjust emit_line_note
calls.
From-SVN: r69047
Diffstat (limited to 'gcc/f')
-rw-r--r-- | gcc/f/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/f/com.c | 4 | ||||
-rw-r--r-- | gcc/f/ste.c | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index ee22ec6..b75edc693 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,9 @@ +Mon Jul 7 18:13:22 2003 Nathan Sidwell <nathan@codesourcery.com> + + * com.c (bison_rule_pushlevel_, bison_rule_compstmt_): Adjust + emit_line_note calls. + * ste.c (ffeste_emit_line_note_): Likewise. + 2003-07-06 Andreas Jaeger <aj@suse.de> * bad.c: Convert () to (void) in function definitions. diff --git a/gcc/f/com.c b/gcc/f/com.c index 7480cd3..4d2860c 100644 --- a/gcc/f/com.c +++ b/gcc/f/com.c @@ -13116,7 +13116,7 @@ ffecom_which_entrypoint_decl (void) static void bison_rule_pushlevel_ (void) { - emit_line_note (input_filename, input_line); + emit_line_note (input_location); pushlevel (0); clear_last_expr (); expand_start_bindings (0); @@ -13132,7 +13132,7 @@ bison_rule_compstmt_ (void) if (! keep) current_binding_level->names = NULL_TREE; - emit_line_note (input_filename, input_line); + emit_line_note (input_location); expand_end_bindings (getdecls (), keep, 0); t = poplevel (keep, 1, 0); diff --git a/gcc/f/ste.c b/gcc/f/ste.c index 53a20d8..82435bc 100644 --- a/gcc/f/ste.c +++ b/gcc/f/ste.c @@ -141,7 +141,7 @@ static void ffeste_subr_beru_ (ffestpBeruStmt *info, ffecomGfrt rt); /* Internal macros. */ #define ffeste_emit_line_note_() \ - emit_line_note (input_filename, input_line) + emit_line_note (input_location) #define ffeste_check_simple_() \ assert(ffeste_statelet_ == FFESTE_stateletSIMPLE_) #define ffeste_check_start_() \ |