[Patch, libgomp, committed] F2015 fix for testsuite/libgomp.fortran/pr34020.f90 (was: [Patch, Fortran] Add library support for coarray's atomic intrinsics)
Tobias Burnus
burnus@net-b.de
Sun Jul 13 06:44:00 GMT 2014
Dominique Dhumieres wrote:
> This probably caused
> /opt/gcc/work/libgomp/testsuite/libgomp.fortran/pr34020.f90:16.24:
> call atomic_add(lhs, rhs)
> 1
> Error: ATOM argument at (1) to intrinsic function atomic_add shall be an integer of ATOMIC_INT_KIND
I have fixed the issue by using "external" - alternatively, one could
compile it with -std=f2008 as it is new in the post-Fortran-2008
Technical Specification (TS) 18508 (and will be in Fortran 2015).
Committed as Rev. 212490.
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gomp.diff
Type: text/x-patch
Size: 770 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20140713/3609370b/attachment.bin>
More information about the Fortran
mailing list