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
This commit is contained in:
Eric Botcazou 2015-11-09 10:45:00 +00:00
parent e732ca6c9d
commit e1c78addb3
2 changed files with 7 additions and 1 deletions

View 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>

View 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,