Hi Martin,
On 10.03.21 21:40, mscfd via Fortran wrote:
Using helgrind on a simple omp do loop with write to
a character variable, I get some possible data races
in libgfortran/io/unit.c.
[...]
Thanks for digging. I have filled https://gcc.gnu.org/PR99529
There global array newunits is
alloc
Sorry for the noise, but line breaks and subject
were somehow missing...
> which version of gfortran, and which operating system?
I have seen this on two different Linux distros on x86
with a recently compiled version, but also some
time ago with an older gfortran 10 version.
Using helgrind on a
On 3/10/21 12:35 PM, Martin Stein via Fortran wrote:
> Hi,
>
> I am seeing rare but reproducible memory corruptions which I can trace back
> to lines like
>
> write(out,'(a,i8)') 'short string', k
>
> where out is a (sufficiently large) character(len=...) variable and k some
> small integer. T
Hi,
I am seeing rare but reproducible memory corruptions which I can trace back to
lines like
write(out,'(a,i8)') 'short string', k
where out is a (sufficiently large) character(len=...) variable and k some
small integer. The line itself occurs in a subroutine called from within an
openmp reg