Re: [PATCH] Fix PR81112

2017-06-19 Thread Jakub Jelinek
On Mon, Jun 19, 2017 at 09:16:58AM +0200, Richard Biener wrote: > > The following fixes an ommision in find_constructor_constant_at_offset > to handle RANGE_EXPR in array constructor indices. The handling is > conservative in that it only handles the first index in the range. > > Bootstrapped an

[PATCH] Fix PR81112

2017-06-19 Thread Richard Biener
The following fixes an ommision in find_constructor_constant_at_offset to handle RANGE_EXPR in array constructor indices. The handling is conservative in that it only handles the first index in the range. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk sofar. Richard. 201