This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran] Fix atomic_ref with -fcoarray=lib


Dear Tobias,

It looks OK to me - good for trunk

Thanks for the patch

Paul

On 14 July 2014 19:19, Tobias Burnus <burnus@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
> 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 for the trunk?
>
> Tobias



-- 
The knack of flying is learning how to throw yourself at the ground and miss.
       --Hitchhikers Guide to the Galaxy


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]