https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64397
--- Comment #6 from janus at gcc dot gnu.org --- (In reply to patnel97269-gfortran from comment #5) > I agree that this example still trigger a bug, but I remember in my original > (more complicated) code, the segfault appears when it tries to access the > allocatable components of the type in the subroutine Are you sure? In my debugging sessions, it always seemed like the segfault happened after the subroutine call.