https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99169
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |8.4.1 Priority|P3 |P4 Summary|Segfault when passing |[9/10/11 Regression] |allocatable scalar into |Segfault when passing |intent(out) dummy argument |allocatable scalar into | |intent(out) dummy argument Ever confirmed|0 |1 Target Milestone|--- |9.4 Keywords| |wrong-code Status|UNCONFIRMED |NEW Known to fail| |10.2.1, 11.0, 9.3.1 Last reconfirmed| |2021-02-19 CC| |anlauf at gcc dot gnu.org --- Comment #1 from anlauf at gcc dot gnu.org --- Confirmed. The tree dump shows that since at least 9.3.1 we clobber the pointer: integer(kind=4) * i; ... i = (integer(kind=4) *) __builtin_malloc (4); ... i = {CLOBBER}; set_i (i);