https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64397
--- Comment #7 from patnel97269-gfortran at yahoo dot fr --- (In reply to janus from comment #6) > (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. My bad, can't reproduce that. Appears to be in between the a multiplication call and the assignment call, so at the return.