GCC Newspaper
JUNE 15, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
gfortran.dg/coarray

Fortran coarray tests now require target sleep due to recent changes.

Fixes test failures for Fortran coarrays by requiring target sleep where calls were recently added.

Some Fortran coarray tests were failing due to recent additions of calls. This commit addresses the issue by adding a requirement for target sleep to these tests. This ensures that the tests pass consistently.

In Details

The coarray feature in Fortran allows for parallel programming. This change modifies the testsuite (specifically, files in gfortran.dg/coarray/) to account for timing-related issues that arise in parallel execution environments. The 'target sleep' requirement likely relates to ensuring proper synchronization or ordering of operations in the tests.

For Context

Fortran coarrays enable parallel programming within Fortran code. This commit adjusts the testing infrastructure for coarrays to handle timing issues. Due to the distributed nature of parallel programs, tests need to account for the time it takes for different parts of the program to communicate and synchronize. The changes ensure more reliable and accurate testing of coarray functionality.

Filed Under: fortrancoarraytestingparallel programming