Fix missing else keyword seen with clang-static-analyzer:
authorMartin Liska <mliska@suse.cz>
Wed, 26 Jun 2019 06:44:28 +0000 (08:44 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 26 Jun 2019 06:44:28 +0000 (06:44 +0000)
commit02e18a0e8a922af6a09ef58922ac44bacd4eb5c6
tree550ff06d4657878ffce396f660b85429db500711
parent09039e9c723456cd008c7fa94ea772ee796cda2c
Fix missing else keyword seen with clang-static-analyzer:

2019-06-26  Martin Liska  <mliska@suse.cz>

* bb-reorder.c (connect_better_edge_p): Add missing else
statement in the middle of if-else statements.

/home/marxin/Programming/gcc/gcc/bb-reorder.c:1031:2: warning: Value stored to 'is_better_edge' is never read
        is_better_edge = true;
        ^                ~~~~
/home/marxin/Programming/gcc/gcc/bb-reorder.c:1034:2: warning: Value stored to 'is_better_edge' is never read
        is_better_edge = false;
        ^                ~~~~~

From-SVN: r272670
gcc/ChangeLog
gcc/bb-reorder.c