ranger: fix small thinko in fur_list constructor
authorAldy Hernandez <aldyh@redhat.com>
Thu, 3 Feb 2022 14:45:55 +0000 (15:45 +0100)
committerAldy Hernandez <aldyh@redhat.com>
Thu, 3 Feb 2022 14:48:46 +0000 (15:48 +0100)
commitf544e5efaf2747ee2add3d408cc2f216433ba617
tree562b1a387fc559474fcb8bbde640bd3f58a71ac4
parent8439e866a38399f0d5e6aab16faaf10bdabc4b5f
ranger: fix small thinko in fur_list constructor

The fur_list constructor for two ranges is leaving [1] in an undefined
state.  The reason we haven't noticed is because after all the
shuffling in the last cycle there are no remaining users of it
(similarly for fur_list(unsigned, irange *)).

Since it's very late in the cycle, I would prefer to fix this, rather
than removing unused constructors altogether.  Besides, we have uses
of them queued up for the next release.

gcc/ChangeLog:

* gimple-range-fold.cc (fur_list::fur_list): Set m_local[1] correctly.
gcc/gimple-range-fold.cc