Re: [patch] Fix PR middle-end/99641

2021-03-19 Thread Richard Biener via Gcc-patches
On Thu, Mar 18, 2021 at 6:25 PM Eric Botcazou 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,

Re: [patch] Fix PR middle-end/99641

2021-03-18 Thread Eric Botcazou
> 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. PR middle-end/99641 * fold-const.c (native_encode_initializer) : For an array type, do the computat

Re: [patch] Fix PR middle-end/99641

2021-03-18 Thread Richard Biener via Gcc-patches
On Thu, Mar 18, 2021 at 1:04 PM Eric Botcazou wrote: > > Hi, > > this is the failure of a couple of tests in the gnat.dg testsuite on 32-bit > platforms (but on some hosts only): > > FAIL: gnat.dg/loop_optimization3.adb (test for excess errors) > FAIL: gnat.dg/opt30.adb (test for excess errors) >