https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120958
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2025-07-09 Known to fail| |14.3.1, 15.1.1, 16.0 --- Comment #10 from anlauf at gcc dot gnu.org --- JTFR: I can confirm the failure with 14.3+ here at -O1 and higher. The problem vanishes for: - adding the ASYNCHRONOUS attribute to norm_temp2 - declaring norm_temp2 as ALLOCATABLE and allocate (norm_temp2(2)) - -fno-tree-sra The -fno-tree-sra is really a big hammer... The problem is not restricted to mpi_isend. Replacing the communication by call mpi_isend( norm_temp1, > 2, > dp_type, > reduce_exch_proc(i), > i, > mpi_comm_world, > request, > ierr ) call mpi_recv( norm_temp2, > 2, > dp_type, > reduce_exch_proc(i), > i, > mpi_comm_world, > ierr ) leads to the same observation.