* config/alpha/alpha.c (alpha_end_function): Do not clear
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Aug 2009 10:40:44 +0000 (10:40 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Aug 2009 10:40:44 +0000 (10:40 +0000)
crtl->emit structure and free insn locators if cfun->is_thunk is true,
this is now handled in generic code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150959 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/alpha/alpha.c

index 76a3fe4..f9dce70 100644 (file)
@@ -1,3 +1,9 @@
+2009-08-20  Uros Bizjak  <ubizjak@gmail.com>
+
+       * 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  <krebbel1@de.ibm.com>
 
        * config/s390/s390.c (Z10_PREDICT_DISTANCE): New macro.
        * config/s390/s390.c ('E'): New output modifier.
 
 2009-08-20  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
-            Richard Earnshaw  <richard.earnshaw@arm.com>
+           Richard Earnshaw  <richard.earnshaw@arm.com>
 
-        * 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  <dave.anglin@nrc-cnrc.gc.ca>
 
index e164491..08de363 100644 (file)
@@ -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