OpenACC acc_on_device: Fix logic error introduced in an earlier change.
commitcb37a039eb7a7375d074bc092457349312c5a2e2
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Dec 2014 16:07:23 +0000 (18 16:07 +0000)
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Dec 2014 16:07:23 +0000 (18 16:07 +0000)
tree450f8532d16438a27040119620808305066a6ce4
parentc3f63a62eb4332f651be5fd377d2d289c8c949f5
OpenACC acc_on_device: Fix logic error introduced in an earlier change.

... but which didn't show up in testing until after a libgomp rebuild, because
of the "caching" of the acc_on_device builtin that is being done in
libgomp/oacc-init.c:acc_on_device.

gcc/
* builtins.c (expand_builtin_acc_on_device): Fix logic error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@218869 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.gomp
gcc/builtins.c