]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
alpha.c (alpha_output_mi_thunk_osf): Call insn_locators_initialize.
authorRichard Henderson <rth@redhat.com>
Sun, 15 Jun 2003 07:36:43 +0000 (00:36 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 15 Jun 2003 07:36:43 +0000 (00:36 -0700)
        * 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

gcc/ChangeLog
gcc/config/alpha/alpha.c
gcc/config/ia64/ia64.c
gcc/config/rs6000/rs6000.c
gcc/config/sh/sh.c
gcc/config/sparc/sparc.c

index 5f410d35924963ddac058e374698a964f7ebe937..e7448cd424e9f491b914acf67a599b39f72a882c 100644 (file)
@@ -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
index 68afb2e5871ee797c45f9763c0ece8327c9e11e0..144686bea6225a2346b5f597a5b1f601c6e2d0b3 100644 (file)
@@ -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);
index ab49ff63328f869b44a584c4a2325f6491bc37ed..688542919625ff6fd266a25faee859d3b96efb84 100644 (file)
@@ -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);
index 7fd68288fb2fad08859a40d9d7e2c9cf3cf787d5..d3d92fad58363f2c1bfd3c54656a83375e464111 100644 (file)
@@ -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);
index 0b82d791f52ead707bb6f1be5875a30964b5c46f..f63b41d774b757d5ee542d6b97fddc0120fb5849 100644 (file)
@@ -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)
index 3be2f9ddaf492fff9b36834134abf2c4ee0ae8f2..523739329125b4cfaa2d807732cfa8b092f94074 100644 (file)
@@ -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);