PR fortran/95373 - ICE in build_reference_type, at tree.c:7942