tree-ssa-alias.c (aliasing_component_refs_walk): Initialize same_p to 0.
authorJan Hubicka <hubicka@ucw.cz>
Mon, 15 Jul 2019 19:21:36 +0000 (21:21 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 15 Jul 2019 19:21:36 +0000 (19:21 +0000)
* tree-ssa-alias.c (aliasing_component_refs_walk): Initialize same_p
to 0.

From-SVN: r273495

gcc/ChangeLog
gcc/tree-ssa-alias.c

index af0b4b5e165c54dfda66a6f63d2d5a72fb5c284f..e56ae5fb204d770dd2c64715201726decde1d144 100644 (file)
@@ -1,3 +1,8 @@
+2019-07-15  Jan Hubicka  <hubicka@ucw.cz>
+
+       * tree-ssa-alias.c (aliasing_component_refs_walk): Initialize same_p
+       to 0.
+
 2019-07-15  Richard Biener  <rguenther@suse.de>
 
        PR middle-end/91162
index d6e3976036ff33f9cafb1ec8e30af7ba6f803264..dd2a43e1409014766aeac0bd49c096099d2a4cf0 100644 (file)
@@ -931,7 +931,7 @@ aliasing_component_refs_walk (tree ref1, tree type1, tree base1,
                              bool *maybe_match)
 {
   tree ref = ref2;
-  int same_p;
+  int same_p = 0;
 
   while (true)
     {