[Patch, Fortran] Fix (serious) issue with Coarray's (UN)LOCK
Paul Richard Thomas
paul.richard.thomas@gmail.com
Fri Apr 10 11:17:00 GMT 2015
Hi Tobias,
OK for trunk.
Thanks for the patch
Paul
On 10 April 2015 at 08:58, Tobias Burnus <burnus@net-b.de> wrote:
> This patch does two things:
>
> a) It finally implements locking/unlocking with -fcoarray=lib. Before it was
> effectively a no op operation always succeeding. - The implementation only
> works for "normal" locking variables - and neither for CLASS, type extension
> or lock components of derived types.
>
> b) It adds a compile-time error for the cases not supported, avoiding race
> conditions due to an only apparently working locking (as it would be the
> case with the implementation before the patch).
>
> Build and regtested on x86-64-gnu-linux.
> OK for the GCC 5 trunk?
>
> Tobias
--
Outside of a dog, a book is a man's best friend. Inside of a dog it's
too dark to read.
Groucho Marx
More information about the Fortran
mailing list