From e139ab343bad16e114fb31047b29308dd397dfdf Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Fri, 4 Sep 2009 21:57:51 +0200 Subject: [PATCH] revert: alpha.c (alpha_output_mi_thunk_osf): Allocate insn locators before emit_insn is called. 2009-09-04 Uros Bizjak Revert: 2009-08-18 Uros Bizjak * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Allocate insn locators before emit_insn is called. From-SVN: r151441 --- gcc/ChangeLog | 8 ++++++++ gcc/config/alpha/alpha.c | 3 +-- 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 + + Revert: + 2009-08-18 Uros Bizjak + + * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Allocate insn + locators before emit_insn is called. + 2009-09-04 Vladimir Makarov 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); -- 2.7.4