https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94788
--- Comment #35 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- (In reply to Jürgen Reuter from comment #34) > Created attachment 48411 [details] > Final reproducer, less than 300 lines ;) > > This one should be sufficient. No further files or input is necessary, it > seems that the problem lies in the combination of inheriting derived types, > allocatables and pointers. All the fun. You do like to stress the language and compilers, do you? :-) However, this last reproducer appears to have something different - it segfaults with released gfortran 8 and with or without the patch we are looking at. Also, the compiler warns pointer_assign_16.f90:195:0: 195 | if (associated (global)) then | Warnung: »global._data« wird in dieser Funktion uninitialisiert verwendet [-Wuninitialized] pointer_assign_16.f90:195:8: 195 | if (associated (global)) then | ^ Warnung: »global._data« wird in dieser Funktion uninitialisiert verwendet [-Wuninitialized] I'll look at this tomorrow, when I don't have to do may day job.