[committed] Fix atomic_capture-1.f90 testcase

Andrew Stubbs ams@codesourcery.com
Wed Nov 25 14:02:30 GMT 2020


This libgomp OpenACC testcase makes assumptions about the order in which 
loop iterations will run that are invalid on amdgcn. Apparently nvptx 
does work that way, but I find that surprising in itself.

For example, this patch ensures that where a test expects one bit left 
set, or unset, then it doesn't matter which bit it is.

Committed as obvious. Please revert if that turns out not true.

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 201125-atomic_capture-1.patch
Type: text/x-patch
Size: 4741 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201125/7c6e05db/attachment.bin>


More information about the Gcc-patches mailing list