[patch] Fix PR middle-end/99641

Richard Biener richard.guenther@gmail.com
Fri Mar 19 07:28:01 GMT 2021


On Thu, Mar 18, 2021 at 6:25 PM Eric Botcazou <botcazou@adacore.com> wrote:
>
> > Can you use wide_ints instead of building trees here please?
>
> Note that this will reject array types whose lower bound is not fixed, but the
> wide_int version is attached.

Yes, but that's no different than before.

Thus, OK.

Thanks,
Richard.

>
>         PR middle-end/99641
>         * fold-const.c (native_encode_initializer) <CONSTRUCTOR>: For an
>         array type, do the computation of the current position in sizetype.
>
> --
> Eric Botcazou


More information about the Gcc-patches mailing list