This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/85527] [openacc] atomic_capture-1.{c,f90} undefined behaviour
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 27 Apr 2018 22:11:44 +0000
- Subject: [Bug testsuite/85527] [openacc] atomic_capture-1.{c,f90} undefined behaviour
- Auto-submitted: auto-generated
- References: <bug-85527-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85527
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Author: vries
Date: Fri Apr 27 22:11:12 2018
New Revision: 259733
URL: https://gcc.gnu.org/viewcvs?rev=259733&root=gcc&view=rev
Log:
[openacc, testsuite] Fix undefined behaviour in atomic_capture-1.f90
2018-04-28 Tom de Vries <tom@codesourcery.com>
PR testsuite/85527
* testsuite/libgomp.oacc-fortran/atomic_capture-1.f90 (main): Store
atomic capture results obtained in parallel loop to an array, instead
of
to a scalar.
Modified:
trunk/libgomp/ChangeLog
trunk/libgomp/testsuite/libgomp.oacc-fortran/atomic_capture-1.f90