[PATCH, fortran] PR85083 - [8 Regression] ICE in gfc_convert_to_structure_constructor, at fortran/primary.c:2915
Thomas Koenig
tkoenig@netcologne.de
Tue Mar 27 17:33:00 GMT 2018
Hello Harald,
> The attached obvious one-liner adds a missing check for type
> compatibility in a structure constructor.
>
> Testcase from report. Changelogs below.
>
> Regtested on i686-pc-linux-gnu.
>
> Whoever reviews this, please feel free to commit.
Reviewed and dommitted as r258899. I have changed the test case name to
structure_constructor_15.f90 because this sort of name allows
running tests on a meaningful subset of interest, for example with
make check-fortran RUNTESTFLAGS="dg.exp=gfortran.dg/*constructor*".
Thanks a lot for the patch!
Regards
Thomas
More information about the Fortran
mailing list