https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102370
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-09-17 Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 --- Comment #1 from anlauf at gcc dot gnu.org --- Are you sure the code is valid? Even Intel crashes when it reaches the print. Adding print *, allocated (temp) before print *, temp%val print for both: F So the final print looks invalid.