]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Properly initialize variable in tree-chkp.c (chkp_mark_invalid_bounds_walker)
authorMarkus Trippelsdorf <markus@trippelsdorf.de>
Sun, 21 Feb 2016 11:25:31 +0000 (11:25 +0000)
committerMarkus Trippelsdorf <trippels@gcc.gnu.org>
Sun, 21 Feb 2016 11:25:31 +0000 (11:25 +0000)
* tree-chkp.c (chkp_mark_invalid_bounds_walker): Initialize
variable.

From-SVN: r233593

gcc/ChangeLog
gcc/tree-chkp.c

index 92fdb85ed8e872b830c053519fa96a56d4f649c9..88f7a23f2dad0f7af1efdc9a53be81934ebf26ff 100644 (file)
@@ -1,3 +1,8 @@
+2016-02-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
+
+       * tree-chkp.c (chkp_mark_invalid_bounds_walker): Initialize
+       variable.
+
 2016-02-19  Jakub Jelinek  <jakub@redhat.com>
 
        PR driver/69805
index d3119c642f337abae0ed5f7591ce594b19dce7bc..3fba12c2ae46ac07999b3710c6498c1af77e9f39 100644 (file)
@@ -895,7 +895,7 @@ chkp_mark_invalid_bounds_walker (tree const &bounds,
 static void
 chkp_finish_incomplete_bounds (void)
 {
-  bool found_valid;
+  bool found_valid = true;
 
   while (found_valid)
     {