re PR fortran/80752 (ICE with wrong type initialization)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 15 May 2017 19:34:52 +0000 (19:34 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 15 May 2017 19:34:52 +0000 (19:34 +0000)
commit0735a1c8cf2fe23ade2f98e5dbaf1781f597471d
tree9fe2401ed1ff43daebd779abf81572730c35c658
parent900b5b6af2ed3b1e2e43f6d253c8ebac8e0de273
re PR fortran/80752 (ICE with wrong type initialization)

2017-05-15  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/80752
* expr.c (gfc_generate_initializer):  If type conversion fails,
check for error and return NULL.

2017-05-15  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/80752
gfortran.dg/pr80752.f90: New test.

From-SVN: r248072
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr80752.f90 [new file with mode: 0644]