[Bug fortran/85083] [8 Regression] ICE in gfc_convert_to_structure_constructor, at fortran/primary.c:2915

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 27 17:29:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85083

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Tue Mar 27 17:28:35 2018
New Revision: 258899

URL: https://gcc.gnu.org/viewcvs?rev=258899&root=gcc&view=rev
Log:
2018-03-27  Thomas Koenig  <tkoenig@gcc.gnu.org>
        Harald Anlauf  <anlauf@gmx.de>

        PR fortran/85083
        * primary.c (gfc_convert_to_structure_constructor): Check
        conformance of argument types in structure constructor.

2018-03-27  Thomas Koenig  <tkoenig@gcc.gnu.org>
        Harald Anlauf  <anlauf@gmx.de>

        * gfortran.dg/structure_constructor_15.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/structure_constructor_15.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/primary.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list