https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125584
--- Comment #16 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Rainer Orth <[email protected]>: https://gcc.gnu.org/g:a5c24db958b97c6f804636a1c8d0b25b4b167702 commit r17-1587-ga5c24db958b97c6f804636a1c8d0b25b4b167702 Author: Rainer Orth <[email protected]> Date: Tue Jun 16 14:04:04 2026 +0200 testsuite: Limit shared memory use of coarray tests [PR125584] As discussed in PR testsuite/125584, the gfortran.dg/coarray tests with -lcaf_shmem require excessive amounts of backing store for their shared memory images: for 64-bit tests, each test uses 4 GB images. On Solaris, the mapped files reside in /tmp/.LIBRT/SHM, which is tmpfs. During parallel testing, several such tests can run in parallel, leading to excessive VM use, in particular on targets like Solaris that don't use lazy allocation. This is unacceptable since the testsuite defaults need to be safe for all targets. The tests PASS just fine when limiting GFORTRAN_SHARED_MEMORY_SIZE to 2M instead. To allow for testing with either the default or a different size, setting GCC_TEST_RUN_EXPENSIVE to a non-empty string allows to override this. Tested on amd64-pc-solaris2.11 and x86_64-pc-linux-gnu. 2026-06-13 Rainer Orth <[email protected]> gcc/testsuite: PR testsuite/125584 * gfortran.dg/coarray/caf.exp: Default GFORTRAN_SHARED_MEMORY_SIZE to 2 MB unless running expensive tests.
