re PR fortran/83999 (ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:10233)
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 6 Oct 2018 15:14:29 +0000 (15:14 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 6 Oct 2018 15:14:29 +0000 (15:14 +0000)
commit2b03b800d866d345b078eaec77ef47fb05daeec2
tree877326a26e7f7136147e90353146709283f439ad
parentf64b9ed94ccf6ee21b769a7213def41918d793a1
re PR fortran/83999 (ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:10233)

2018-10-06  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/83999
* resolve.c (resolve_fl_procedure): Include class functions in
the test that elemental function results be scalar.

2018-10-06  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/83999
* gfortran.dg/elemental_function_4.f90 : New test.

From-SVN: r264899
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/elemental_function_4.f90 [new file with mode: 0644]