From: Eric Botcazou Date: Mon, 9 Nov 2015 10:45:00 +0000 (+0000) Subject: re PR middle-end/68253 (conditional jump or move depends on uninitialized value in... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1c78addb3eb56f659b47756e41e6e956d5c85ab;p=gcc.git re PR middle-end/68253 (conditional jump or move depends on uninitialized value in fold-const.c:5587) PR middle-end/68253 * fold-const.c (fold_truth_andor_1): Initialize new variables to 0. From-SVN: r230011 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d0b119f0c5b..510f5ee5df9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-11-09 Eric Botcazou + + PR middle-end/68253 + * fold-const.c (fold_truth_andor_1): Initialize new variables to 0. + 2015-11-09 Richard Henderson * config/i386/i386-c.c (ix86_target_macros): Define __SEG_FS, @@ -91,7 +96,7 @@ 2015-11-09 Segher Boessenkool 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 diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 8b437ab8f26..f9e50644a3e 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -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,