diff options
author | Richard Henderson <rth@redhat.com> | 2003-06-15 00:36:43 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-06-15 00:36:43 -0700 |
commit | a2855205a5085bb86367761d459eb29f5a0fc792 (patch) | |
tree | 4880ffd8ea639e3cc899827288bf691eaabcd3bd /gcc | |
parent | 51fbbb3054015c5621a22a52a43dd1a7b84eebad (diff) | |
download | gcc-a2855205a5085bb86367761d459eb29f5a0fc792.zip gcc-a2855205a5085bb86367761d459eb29f5a0fc792.tar.gz gcc-a2855205a5085bb86367761d459eb29f5a0fc792.tar.bz2 |
alpha.c (alpha_output_mi_thunk_osf): Call insn_locators_initialize.
* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Call
insn_locators_initialize.
* config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
* config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
* config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
* config/sh/sh.c (sh_output_mi_thunk): Do it later.
From-SVN: r67969
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/config/alpha/alpha.c | 1 | ||||
-rw-r--r-- | gcc/config/ia64/ia64.c | 1 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 1 | ||||
-rw-r--r-- | gcc/config/sh/sh.c | 5 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.c | 1 |
6 files changed, 16 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5f410d3..e7448cd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2003-06-15 Richard Henderson <rth@redhat.com> + + * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Call + insn_locators_initialize. + * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise. + * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise. + * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise. + * config/sh/sh.c (sh_output_mi_thunk): Do it later. + 2003-06-15 Kazu Hirata <kazu@cs.umass.edu> * builtins.c (expand_builtin_expect_jump): Remove redundant diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 68afb2e..144686b 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -8156,6 +8156,7 @@ alpha_output_mi_thunk_osf (file, thunk_fndecl, delta, vcall_offset, function) instruction scheduling worth while. Note that use_thunk calls assemble_start_function and assemble_end_function. */ insn = get_insns (); + insn_locators_initialize (); shorten_branches (insn); final_start_function (insn, file, 1); final (insn, file, 1, 0); diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index ab49ff6..6885429 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -8542,6 +8542,7 @@ ia64_output_mi_thunk (file, thunk, delta, vcall_offset, function) instruction scheduling worth while. Note that use_thunk calls assemble_start_function and assemble_end_function. */ + insn_locators_initialize (); emit_all_insn_group_barriers (NULL); insn = get_insns (); shorten_branches (insn); diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 7fd6828..d3d92fa 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -12306,6 +12306,7 @@ rs6000_output_mi_thunk (file, thunk_fndecl, delta, vcall_offset, function) instruction scheduling worth while. Note that use_thunk calls assemble_start_function and assemble_end_function. */ insn = get_insns (); + insn_locators_initialize (); shorten_branches (insn); final_start_function (insn, file, 1); final (insn, file, 1, 0); diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 0b82d79..f63b41d7 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -8322,7 +8322,6 @@ sh_output_mi_thunk (file, thunk_fndecl, delta, vcall_offset, function) int did_load = 0; rtx scratch0, scratch1, scratch2; - insn_locators_initialize (); reload_completed = 1; no_new_pseudos = 1; current_function_uses_only_leaf_regs = 1; @@ -8438,9 +8437,11 @@ sh_output_mi_thunk (file, thunk_fndecl, delta, vcall_offset, function) use_reg (&CALL_INSN_FUNCTION_USAGE (sibcall), this); emit_barrier (); - /* Run just enough of rest_of_compilation to do scheduling and get + /* Run just enough of rest_of_compilation to do scheduling and get the insns emitted. Note that use_thunk calls assemble_start_function and assemble_end_function. */ + + insn_locators_initialize (); insns = get_insns (); if (optimize > 0 && flag_schedule_insns_after_reload) diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 3be2f9d..5237393 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -8632,6 +8632,7 @@ sparc_output_mi_thunk (file, thunk_fndecl, delta, vcall_offset, function) instruction scheduling worth while. Note that use_thunk calls assemble_start_function and assemble_end_function. */ insn = get_insns (); + insn_locators_initialize (); shorten_branches (insn); final_start_function (insn, file, 1); final (insn, file, 1, 0); |