[tree-ssa] Fix alpha bootstrap
Diego Novillo
dnovillo@redhat.com
Fri Nov 21 21:26:00 GMT 2003
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
More information about the Gcc-patches
mailing list