https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119273
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |87477 --- Comment #2 from anlauf at gcc dot gnu.org --- A simple print *,temp_int(:,a%test_function()) works fine, so it is likely a pure ASSOCIATE problem. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 [Bug 87477] [meta-bug] [F03] issues concerning the ASSOCIATE statement