re PR fortran/83148 (ICE: crash_signal from toplev.c:325)
authorPaul Thomas <pault@gcc.gnu.org>
Fri, 23 Feb 2018 12:35:30 +0000 (12:35 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Fri, 23 Feb 2018 12:35:30 +0000 (12:35 +0000)
commitc287dea0c4a9319979288995e449c09184528a2f
tree20538aa6bca7ab6acae0f29f303b513cdb7ec7b5
parent99b4a565262c5755bf2bebe17ff852abdebb08a9
re PR fortran/83148 (ICE: crash_signal from toplev.c:325)

2018-02-23  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/83148
* trans-const.c : Clean up some whitespace issues.
* trans-expr.c (gfc_conv_initializer): If an iso_c_binding
derived type has a kind value of zero, set it to the default
integer kind.

2018-02-23  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/83148
* gfortran.dg/class_68.f90: New test.

From-SVN: r257930
gcc/fortran/ChangeLog
gcc/fortran/trans-const.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_68.f90 [new file with mode: 0644]