https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120812
--- Comment #12 from anlauf at gcc dot gnu.org --- (In reply to Christophe Peyret from comment #11) > same on Mac ARM :) Good. So it is most likely the issue with SAVEd pointer/allocatable that was recently fixed. To verify, you can try the following using the code where the => NULL() was removed from the declaration: - compile with -fno-automatic --> this will very likely reproduce your issue with 15.1 - compile with -fautomatic (which is the default) --> I expect this to work