https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102331
--- Comment #6 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Regression testing looks good. The patch wiggles on the error messages given for: pr85779.f90 class_result_4.f90 In both cases they are reasonable. I don't think we need any new test cases since we are obviously exercising the patch. If anyone insists I add the z1 and z2 cases to the testsuite, let me know and i will do so.