https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120179
--- Comment #9 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Thomas Schwinge from comment #8)
> > * gfortran.dg/do_concurrent_basic.f90: Extend testcase.
>
> I noticed this removed execution and torture testing; maybe unintentionally?
I think THAT's FINE. The old code just had:
integer :: i, arr(10)
do concurrent (i = 1:10)
arr(i) = i
end do
print *, arr
That's somewhat useful at execution for debugging the code (printing the value
of 'arr') - but as runtime test it just checks that it doesn't crash as not
even the value of 'arr' is checked for.
The updated test added two one-line tests, similar to comment 0
and changed 'compile' to 'run'.