[Bug fortran/69659] [6 Regression] ICE on using option -frepack-arrays, in gfc_conv_descriptor_data_get

vehre at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Apr 3 17:02:00 GMT 2016


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


More information about the Gcc-bugs mailing list