If the atomic_ref VALUE argument is of a different kind than the ATOM
argument, the result was wrong with -fcoarray=lib. That showed up with
gfortran.dg/coarray/atomic_1.f90 - but for some reasons only with -m32.
The fix is to create a temporary variable in this case, what the patch does.
OK
Dear Tobias,
It looks OK to me - good for trunk
Thanks for the patch
Paul
On 14 July 2014 19:19, Tobias Burnus bur...@net-b.de wrote:
If the atomic_ref VALUE argument is of a different kind than the ATOM
argument, the result was wrong with -fcoarray=lib. That showed up with