On 6 March 2019 19:49:59 CET, Thomas Koenig <tkoe...@netcologne.de> wrote: >Hello world, > >the attached patch fixes a 7/8/9 regression where dependency checking >was for class arrays and a scalar value was mishandled when the >dependency happened in an elemental function. > >There was an ICE for the test case which is handled by >fixing up the class refs in gfc_walk_variable_expr. >Once this was gone, a wrong-code issue appeared which was fixed >by the part in gfc_scalar_elemental_arg_saved_as_reference >(is that the longest function name in gfortran?). > >Regression-tested. OK for all affected branches?
Please change call abort to stop N in the test? > PR fortran/66089 > * gfortran.dg/dependency_53.f90: New test.