[committed] Fix testcase (was: Re: [Patch, Fortran] Update atomics support for TS18508)

2014-07-13 Thread Tobias Burnus
Dominique Dhumieres wrote: The test gfortran.dg/coarray_atomic_4.f90 fails in 32 bit mode: /opt/gcc/work/gcc/testsuite/gfortran.dg/coarray_atomic_4.f90:40.32: call atomic_fetch_and(caf, 22_16, var, stat=stat) 1 Error: Integer kind 16 at (1) not available As I j

Re: [Patch, Fortran] Update atomics support for TS18508

2014-07-13 Thread Andreas Schwab
call atomic_fetch_and(caf, 22_16, var, stat=stat) 1 Error: Integer kind 16 at (1) not available FAIL: gfortran.dg/coarray_atomic_4.f90 -O (test for excess errors) Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756

Re: [Patch, Fortran] Update atomics support for TS18508

2014-07-13 Thread Dominique Dhumieres
The test gfortran.dg/coarray_atomic_4.f90 fails in 32 bit mode: /opt/gcc/work/gcc/testsuite/gfortran.dg/coarray_atomic_4.f90:40.32: call atomic_fetch_and(caf, 22_16, var, stat=stat) 1 Error: Integer kind 16 at (1) not available Dominique

Re: [Patch, Fortran] Update atomics support for TS18508

2014-07-12 Thread Paul Richard Thomas
Dear Tobias, OK for trunk. Thanks for the patch. Paul On 11 July 2014 23:30, Tobias Burnus wrote: > This patch updates the atomic support for TS18508, namely: > – The atomic intrinsics now take a STAT= argument > – Add the new atomics atomic_{add,and,or,xor} and their fetch variants > atomic_f