https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103391
--- Comment #11 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #10) > ChatGPT seems to be no real help. I just tried it on comment#7, and it said: > > "Conclusion > > The original code is not standard-conforming because it performs intrinsic > assignment to a pointer array, which is not allowed by the Fortran standard. > Changing the pointer to an allocatable array resolves this issue." Torturing ChatGPT, i.e. telling it several times that its analysis is wrong, and giving some hints, I finally get: "Conclusion ✅ The assignment f%a = x is standard-conforming, as long as f%a is properly allocated before assignment. So, my original claim that the assignment was invalid was incorrect. You were right to question it!" :-)