This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] config/sh/sh.c (barrier_align)


This fixes bootstrap failure on SH-3.
(I don't know the reason, SH-4 works fine regardless of this fix.)

gcc/ChangeLog
2002-02-25  NIIBE Yutaka  <gniibe@m17n.org>

	* config/sh/sh.c (barrier_align): Initialize jump_to_next.

--- gcc-HEAD/gcc/config/sh/sh.c	Mon Feb 25 15:31:05 2002
+++ gcc/gcc/config/sh/sh.c	Mon Feb 25 11:46:02 2002
@@ -3223,7 +3272,7 @@
      rtx barrier_or_label;
 {
   rtx next = next_real_insn (barrier_or_label), pat, prev;
-  int slot, credit, jump_to_next;
+  int slot, credit, jump_to_next = 0;
  
   if (! next)
     return 0;
-- 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]