https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102111
Bug ID: 102111 Summary: Segfault with associate to derived type with allocatable component Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran Assignee: unassigned at gcc dot gnu.org Reporter: everythingfunctional at protonmail dot com Target Milestone: --- I'm using version Ubuntu 11.1.0-1ubuntu1~21.04 on Pop!OS. I suspect this is related to 102106, but fails every time instead of just intermittently. program main type :: example_t integer, allocatable :: vals(:) end type associate(example => example_t([42])) end associate end program