aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2009-09-04 21:57:51 +0200
committerUros Bizjak <uros@gcc.gnu.org>2009-09-04 21:57:51 +0200
commite139ab343bad16e114fb31047b29308dd397dfdf (patch)
tree99ab376d90f10909a3e4d80d024acc7906f46978
parent1fe281160d1dfbcdca55b6f6f55878ea03620aed (diff)
downloadgcc-e139ab343bad16e114fb31047b29308dd397dfdf.zip
gcc-e139ab343bad16e114fb31047b29308dd397dfdf.tar.gz
gcc-e139ab343bad16e114fb31047b29308dd397dfdf.tar.bz2
revert: alpha.c (alpha_output_mi_thunk_osf): Allocate insn locators before emit_insn is called.
2009-09-04 Uros Bizjak <ubizjak@gmail.com> Revert: 2009-08-18 Uros Bizjak <ubizjak@gmail.com> * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Allocate insn locators before emit_insn is called. From-SVN: r151441
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/alpha/alpha.c3
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3523c0b..d11805b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2009-09-04 Uros Bizjak <ubizjak@gmail.com>
+
+ Revert:
+ 2009-08-18 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Allocate insn
+ locators before emit_insn is called.
+
2009-09-04 Vladimir Makarov <vmakarov@redhat.com>
PR bootstrap/41241
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index 021ea0c..46ad8f4 100644
--- a/gcc/config/alpha/alpha.c
+++ b/gcc/config/alpha/alpha.c
@@ -8663,8 +8663,6 @@ alpha_output_mi_thunk_osf (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED,
HOST_WIDE_INT hi, lo;
rtx this_rtx, insn, funexp;
- insn_locators_alloc ();
-
/* We always require a valid GP. */
emit_insn (gen_prologue_ldgp ());
emit_note (NOTE_INSN_PROLOGUE_END);
@@ -8741,6 +8739,7 @@ alpha_output_mi_thunk_osf (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED,
instruction scheduling worth while. Note that use_thunk calls
assemble_start_function and assemble_end_function. */
insn = get_insns ();
+ insn_locators_alloc ();
shorten_branches (insn);
final_start_function (insn, file, 1);
final (insn, file, 1);