https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69659
vehre at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING Assignee|unassigned at gcc dot gnu.org |vehre at gcc dot gnu.org --- Comment #5 from vehre at gcc dot gnu.org --- Created attachment 38169 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38169&action=edit Patch proposal to fix the ICE. Hi Gerhard, although I am doing gfortran bugfixing for quite some time now, I haven't done the "validation run with option -frepack-arrays" yet. I found that I could add RUNTESTFLAGS="--target_board=unix/-frepack-arrays" to the make check-fortran run, but this presents me with a multitude of failing testcases. So obviously I am doing something wrong. Attached is a patch that fixes the issue for some of the testcases you enumerated in comment #1. I haven't busied myself to check each of the testcases, but picked about 5 from the list and checked, that the patch fixes the issue. Can you confirm that the patch fixes the issue in all cases and does not raise new issues? Regards, Andre