* config/spu/spu.c (spu_expand_epilogue): Do not emit barrier.
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Apr 2011 13:09:24 +0000 (13:09 +0000)
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Apr 2011 13:09:24 +0000 (13:09 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173028 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/spu/spu.c

index 4c2dd01..db5ecd0 100644 (file)
@@ -1,3 +1,7 @@
+2011-04-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * config/spu/spu.c (spu_expand_epilogue): Do not emit barrier.
+
 2011-04-27  Jan Hubicka  <jh@suse.cz>
 
        * ipa-prop.c (function_insertion_hook_holder): New holder.
index 1ee1c9b..3f16142 100644 (file)
@@ -2107,7 +2107,7 @@ spu_expand_epilogue (bool sibcall_p)
   int size = get_frame_size (), offset, regno;
   HOST_WIDE_INT saved_regs_size, total_size;
   rtx sp_reg = gen_rtx_REG (Pmode, STACK_POINTER_REGNUM);
-  rtx jump, scratch_reg_0;
+  rtx scratch_reg_0;
 
   if (spu_naked_function_p (current_function_decl))
     return;
@@ -2149,10 +2149,8 @@ spu_expand_epilogue (bool sibcall_p)
   if (!sibcall_p)
     {
       emit_use (gen_rtx_REG (SImode, LINK_REGISTER_REGNUM));
-      jump = emit_jump_insn (gen__return ());
-      emit_barrier_after (jump);
+      emit_jump_insn (gen__return ());
     }
-
 }
 
 rtx