re PR middle-end/68253 (conditional jump or move depends on uninitialized value in...
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 9 Nov 2015 10:45:00 +0000 (10:45 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 9 Nov 2015 10:45:00 +0000 (10:45 +0000)
PR middle-end/68253
* fold-const.c (fold_truth_andor_1): Initialize new variables to 0.

From-SVN: r230011

gcc/ChangeLog
gcc/fold-const.c

index d0b119f0c5b3c4dbd9ee510635d87835cff74131..510f5ee5df9df8e46746ff631405343f72bc4e44 100644 (file)
@@ -1,3 +1,8 @@
+2015-11-09  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR middle-end/68253
+       * fold-const.c (fold_truth_andor_1): Initialize new variables to 0.
+
 2015-11-09  Richard Henderson  <rth@redhat.com>
 
        * config/i386/i386-c.c (ix86_target_macros): Define __SEG_FS,
@@ -91,7 +96,7 @@
 2015-11-09  Segher Boessenkool  <segher@kernel.crashing.org>
 
        PR rtl-optimization/68182
-       * gcc/bb-reorder.c (reorder_basic_blocks_simple): Treat a conditional
+       * bb-reorder.c (reorder_basic_blocks_simple): Treat a conditional
        branch with only one successor just like unconditional branches.
 
 2015-11-08  Jeff Law  <law@redhat.com>
index 8b437ab8f26b8f795d50dbaac8fd83cfaf5e1d4e..f9e50644a3e0069b613603775ae12ee4d2164577 100644 (file)
@@ -5565,6 +5565,7 @@ fold_truth_andor_1 (location_t loc, enum tree_code code, tree truth_type,
       || (rcode != EQ_EXPR && rcode != NE_EXPR))
     return 0;
 
+  ll_reversep = lr_reversep = rl_reversep = rr_reversep = 0;
   volatilep = 0;
   ll_inner = decode_field_reference (loc, ll_arg,
                                     &ll_bitsize, &ll_bitpos, &ll_mode,