From 7e9f2c0f33077da3428c2a9df0b768c3f54b7b4b Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Thu, 20 Aug 2009 12:40:44 +0200 Subject: [PATCH] alpha.c (alpha_end_function): Do not clear crtl->emit structure and free insn locators if... * config/alpha/alpha.c (alpha_end_function): Do not clear crtl->emit structure and free insn locators if cfun->is_thunk is true, this is now handled in generic code. From-SVN: r150959 --- gcc/ChangeLog | 13 +++++++++---- gcc/config/alpha/alpha.c | 8 -------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 76a3fe4..f9dce70 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-08-20 Uros Bizjak + + * config/alpha/alpha.c (alpha_end_function): Do not clear + crtl->emit structure and free insn locators if cfun->is_thunk is true, + this is now handled in generic code. + 2009-08-20 Andreas Krebbel * config/s390/s390.c (Z10_PREDICT_DISTANCE): New macro. @@ -13,11 +19,10 @@ * config/s390/s390.c ('E'): New output modifier. 2009-08-20 Ramana Radhakrishnan - Richard Earnshaw + Richard Earnshaw - * config/arm/arm.c (arm_emit_movpair): Handle CONST_INT. - * config/arm/arm.md (*arm_movtas_ze): New pattern for - movt. + * config/arm/arm.c (arm_emit_movpair): Handle CONST_INT. + * config/arm/arm.md (*arm_movtas_ze): New pattern for movt. 2009-08-19 John David Anglin diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index e164491..08de363 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -8613,14 +8613,6 @@ alpha_end_function (FILE *file, const char *fnname, tree decl ATTRIBUTE_UNUSED) if (insn && CALL_P (insn)) output_asm_insn (get_insn_template (CODE_FOR_nop, NULL), NULL); -#if TARGET_ABI_OSF - if (cfun->is_thunk) - { - memset (&crtl->emit, 0, sizeof (struct emit_status)); - insn_locators_free (); - } -#endif - #if TARGET_ABI_OPEN_VMS alpha_write_linkage (file, fnname, decl); #endif -- 2.7.4