https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67564
--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> --- Created attachment 37530 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37530&action=edit Patch to be committed For whatever reason that I cannot uncover, the part of the original patch in trans-array.c is no longer necessary. The remainder (attached) is down to being 'obvious' and so I will commit it as soon as the regtesting is done. Thanks for your test of the original, Dominique! Paul PS I will check to see if it does the job for 5-branch.