[gomp4] openacc id builtin

Nathan Sidwell nathan@acm.org
Fri Jun 26 12:40:00 GMT 2015


I discovered a latent bug in the openacc thread id builtin and associated 
unspec.  They should not be treated as constant functions, because that causes 
the compiler to consider them constant across threads.  Which of course they are 
not.

Applied to gomp4 branch

nathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: id.patch
Type: text/x-patch
Size: 1898 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150626/714d9868/attachment.bin>


More information about the Gcc-patches mailing list