re PR fortran/85083 (ICE in gfc_convert_to_structure_constructor, at fortran/primary...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 27 Mar 2018 17:28:35 +0000 (17:28 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 27 Mar 2018 17:28:35 +0000 (17:28 +0000)
commit13a7688fb902adb314679a2ffe64d80186632224
treea049c882fae34daa94adcf65ee9555e470d33f69
parentd555040fc4c7e7b023c23e5c0f4889936a154ca9
re PR fortran/85083 (ICE in gfc_convert_to_structure_constructor, at fortran/primary.c:2915)

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.

Co-Authored-By: Harald Anlauf <anlauf@gmx.de>
From-SVN: r258899
gcc/fortran/ChangeLog
gcc/fortran/primary.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/structure_constructor_15.f90 [new file with mode: 0644]