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]

[tree-ssa] Fix alpha bootstrap


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



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