Off by one final fix.
authorAndrew MacLeod <amacleod@redhat.com>
Tue, 6 Oct 2020 20:52:03 +0000 (16:52 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Wed, 7 Oct 2020 13:59:56 +0000 (09:59 -0400)
commit4e9213027587b807ca7e4bbde706b19102342d37
tree97f41665c5165feb27f922df60bc220d17f0bb30
parent7c7e841806aecf4187c69fc2ff07813c7be09582
Off by one final fix.

Allocate the memory in an approved portable way.

gcc/ChangeLog:

2020-10-06  Andrew MacLeod  <amacleod@redhat.com>

* value-range.h (irange_allocator::allocate): Allocate in two hunks
instead of using the variably-sized trailing array approach.
gcc/value-range.h