aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2018-08-06 22:13:46 +0000
committerTom de Vries <vries@gcc.gnu.org>2018-08-06 22:13:46 +0000
commit9e28b107796b79f09227de541543466a146162be (patch)
treea19609d27ea80e60f7fb0422ea6898c0eb8af245 /libcpp
parent611c75f0efa4351d91f18c8af3bba8ff2b8fa616 (diff)
downloadgcc-9e28b107796b79f09227de541543466a146162be.zip
gcc-9e28b107796b79f09227de541543466a146162be.tar.gz
gcc-9e28b107796b79f09227de541543466a146162be.tar.bz2
[libgomp, nvptx] Minimize lifetime of CUDA_ONE_CALL defines
This patch makes sure that the lifetimes of the CUDA_ONE_CALL macro (which is defined twice in plugin-nvptx.c) are minimized, to make it obvious that the definitions are used only in the lib-cuda.def include. Build on x86_64 with nvptx accelerator and reg-tested libgomp. 2018-08-07 Tom de Vries <tdevries@suse.de> * plugin/plugin-nvptx.c (struct cuda_lib_s, init_cuda_lib): Put CUDA_ONE_CALL defines right before the cuda-lib.def include, and the corresponding undefs right after. From-SVN: r263345
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions