[Patch, fortran] PR84115] [8 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'indirect_ref' in add_decl_as_local, at fortran/trans-decl.c:256
Paul Richard Thomas
paul.richard.thomas@gmail.com
Sun Feb 4 13:25:00 GMT 2018
Committed a partial patch as 'obvious' in revision 257363.
Oddly, the failing test in associate_35.f90 is the only one that works
in 7-branch. I have left the PR open and changed the title
accordingly.
Paul
2018-02-04 Paul Thomas <pault@gcc.gnu.org>
PR fortran/84115
* trans-decl.c (gfc_get_symbol_decl): Do not finish the decl of
'length' if the symbol charlen backend_decl is an indirect ref.
2018-02-04 Paul Thomas <pault@gcc.gnu.org>
PR fortran/84115
* gfortran.dg/associate_34.f90: New test.
* gfortran.dg/associate_35.f90: New test.
More information about the Fortran
mailing list