https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83999
--- Comment #11 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Mon Oct 8 14:20:40 2018 New Revision: 264931 URL: https://gcc.gnu.org/viewcvs?rev=264931&root=gcc&view=rev Log: 2018-10-08 Paul Thomas <pa...@gcc.gnu.org> PR fortran/83999 Backport from trunk * resolve.c (resolve_fl_procedure): Include class functions in the test that elemental function results be scalar. 2018-10-08 Paul Thomas <pa...@gcc.gnu.org> PR fortran/83999 Backport from trunk * gfortran.dg/elemental_function_4.f90 : New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/elemental_function_4.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/resolve.c branches/gcc-8-branch/gcc/testsuite/ChangeLog