alpha.c (alpha_output_mi_thunk_osf): Allocate insn locators before emit_insn is called.
authorUros Bizjak <ubizjak@gmail.com>
Tue, 18 Aug 2009 17:50:44 +0000 (19:50 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 18 Aug 2009 17:50:44 +0000 (19:50 +0200)
commite72cee90d52ac45df305c99894908df0bf4be392
treee33e4cfed8c9bcec15d96424da15db15f4b299bc
parente31bcd1b96a5d6236da6cb4965b112773878e35d
alpha.c (alpha_output_mi_thunk_osf): Allocate insn locators before emit_insn is called.

* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Allocate insn
locators before emit_insn is called.  Remove assert that
cfun->is_thunk.
(alpha_end_function): Clear crtl->emit structure and free insn
locators if cfun->is_thunk is true.

From-SVN: r150883
gcc/ChangeLog
gcc/config/alpha/alpha.c
gcc/testsuite/ChangeLog