https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121139
--- Comment #2 from Andre Vehreschild <vehre at gcc dot gnu.org> --- Oh, and it needs to be: use julienne_test_description_m implicit none associate(test_descriptions => [test_description_t()]) associate(substring_in_test_diagnosis => test_descriptions(1)%contains_text()) ^^^ end associate end associate end for now, because test_descriptions is an array.