]> gcc.gnu.org Git - gcc.git/commit
tree-optimization: Fix use of uninitialized variables warnings [PR94952]
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Tue, 5 May 2020 17:44:19 +0000 (19:44 +0200)
committerStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Mon, 18 May 2020 18:04:25 +0000 (20:04 +0200)
commit2c832ffedf06ff614fc36c44ab6c892d84075e08
tree209b08caabf201f8890e8898bcf27575261a7f82
parentbe464161b4ae128681958d94aa460531cf30e0a4
tree-optimization: Fix use of uninitialized variables warnings [PR94952]

While bootstrapping GCC on S/390 with --enable-checking=release several
warnings about use of uninitialized variables bitpos, bitregion_start, and
bitregion_end of function pass_store_merging::process_store are raised.
According to PR94952 these seem to be false positives which are silenced by
initialising the mentioned variables.

Bootstrapped on S/390.  Ok for master and releases/gcc-10 assuming that
regtest succeeds (still running but I don't see a reason why it
should fail)?

gcc/ChangeLog:

2020-05-18  Stefan Schulze Frielinghaus  <stefansf@linux.ibm.com>

PR tree-optimization/94952
* gimple-ssa-store-merging.c (pass_store_merging::process_store):
Initialize variables bitpos, bitregion_start, and bitregion_end in
order to silence warnings about use of uninitialized variables.
gcc/ChangeLog
gcc/gimple-ssa-store-merging.c
This page took 0.059055 seconds and 5 git commands to generate.