This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa] Fix alpha bootstrap
- From: Diego Novillo <dnovillo at redhat dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 21 Nov 2003 16:25:42 -0500
- Subject: [tree-ssa] Fix alpha bootstrap
- Organization: Red Hat Canada
Another case of variables not initialized in every path.
* cfgcleanup.c (try_crossjump_to_edge): Initialize newpos1 and
newpos2.
Index: cfgcleanup.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cfgcleanup.c,v
retrieving revision 1.62.2.15
diff -d -u -p -r1.62.2.15 cfgcleanup.c
--- cfgcleanup.c 28 Sep 2003 06:06:07 -0000 1.62.2.15
+++ cfgcleanup.c 21 Nov 2003 21:23:11 -0000
@@ -1390,6 +1390,8 @@ try_crossjump_to_edge (int mode, edge e1
rtx newpos1, newpos2;
edge s;
+ newpos1 = newpos2 = NULL_RTX;
+
/* Search backward through forwarder blocks. We don't need to worry
about multiple entry or chained forwarders, as they will be optimized
away. We do this to look past the unconditional jump following a