https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127893
--- Comment #10 from [email protected] --- Thank you, Jerry, I confirm that your patch works well. Apple Silicon M4 pro, 14 cores, macOS 27.2 Reproducer: attachment 65844, 5,000,000 READs total, gfortran -O2 -fopenmp Elapsed time in seconds (median of 3 runs); checksums identical for all builds threads gcc 13 gcc 16.2 16.2 + patch ------- ------ -------- ------------ 1 0.185 0.219 0.191 2 0.271 0.285 0.136 4 0.532 0.609 0.218 5 0.621 4.34 0.238 6 0.666 13.06 0.229 8 0.593 12.85 0.188 10 0.511 22.69 0.144 12 0.462 22.98 0.206 14 0.457 23.13 0.166
