This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] config/sh/sh.c (barrier_align)
- From: NIIBE Yutaka <gniibe at m17n dot org>
- To: Joern dot Rennecke dot amylaar at onetel dot net dot uk, Alexandre Oliva <aoliva at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Cc: Craig Rodrigues <rodrigc at attbi dot com>
- Date: Mon, 25 Feb 2002 16:21:30 +0900 (JST)
- Subject: [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;
--