re PR fortran/88138 (ICE in gfc_arith_concat, at fortran/arith.c:1007)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 15 Dec 2018 22:53:26 +0000 (22:53 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 15 Dec 2018 22:53:26 +0000 (22:53 +0000)
commite310b38153d15c6d3ae9686eb38b6629f0f93393
tree419395b51f331c4c4ae904af423d80756be31a25
parent54d04ce91ae8e6a2d647200f9443556e6fadc9e2
re PR fortran/88138 (ICE in gfc_arith_concat, at fortran/arith.c:1007)

2019-12-15  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/88138
* decl.c (variable_decl): Check that a derived isn't being assigned
an incompatible entity in an initialization.

2019-12-15  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/88138
* gfortran.dg/pr88138.f90: new test.

From-SVN: r267177
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr88138.f90 [new file with mode: 0644]