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 d0b119f..510f5ee 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 8b437ab..f9e5064 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,