https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60322
--- Comment #7 from vehre at gcc dot gnu.org --- I just want to report some progress. I have a patch that fixes the issues in comment #1 and #3. The tree-dump shows, that a class array is handled the same for a class array as for a "type array" as described in comment #2. Currently I am in a battle with the code in comment #5. Somehow the routine taking care about the association of the temporary real array needed for the type is (double precision) does not get the array descriptors, neither the one for the original array ar nor the one for the temporary real-array.