Dear Tobias, I have this patch in my working tree since Jan 22. It works as advertised without regression. Note that it does not fix the ICE for the first test:
pr41600.f90:1:0: internal compiler error: in gfc_conv_component_ref, at fortran/trans-expr.c:1131 Thanks, Dominique