This is the mail archive of the gcc-bugs@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]

[Bug testsuite/85527] [openacc] atomic_capture-1.{c,f90} undefined behaviour


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

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