File nov216246-1.diff of Package libgcj33

See http://gcc.gnu.org/ml/gcc-patches/2004-09/msg01240.html, this causes
us to miss sibcall opportunities with -g

Index: gcc-3.3.3/gcc/sibcall.c
===================================================================
--- gcc-3.3.3.orig/gcc/sibcall.c	2002-09-27 14:48:02.000000000 +0200
+++ gcc-3.3.3/gcc/sibcall.c	2006-10-31 11:30:56.000000000 +0100
@@ -339,7 +339,8 @@ call_ends_block_p (insn, end)
 {
   rtx new_insn;
   /* END might be a note, so get the last nonnote insn of the block.  */
-  end = next_nonnote_insn (PREV_INSN (end));
+  if (GET_CODE (end) == NOTE)
+    end = prev_nonnote_insn (end);
 
   /* If the call was the end of the block, then we're OK.  */
   if (insn == end)
openSUSE Build Service is sponsored by