]> git.ipfire.org Git - thirdparty/gcc.git/commit
libgomp/plugin/plugin-nvptx.c: Change false to NULL to fix C23 wrong-return-type...
authorTobias Burnus <tburnus@baylibre.com>
Mon, 18 Nov 2024 10:06:58 +0000 (11:06 +0100)
committerTobias Burnus <tburnus@baylibre.com>
Mon, 18 Nov 2024 10:06:58 +0000 (11:06 +0100)
commite7e3d1838f7cfb4a9fca711d735d8f5ea47d16dc
treec29e2a504cdeddcfd13008feaa87ed85b127fc80
parent45a3277149d95a51cf9109cab87ee39a7dce73e2
libgomp/plugin/plugin-nvptx.c: Change false to NULL to fix C23 wrong-return-type error [PR117626]

libgomp/ChangeLog:

PR libgomp/117626
* plugin/plugin-nvptx.c (nvptx_open_device): Use 'CUDA_CALL_ERET'
with 'NULL' as error return instead of 'CUDA_CALL' that returns false.
libgomp/plugin/plugin-nvptx.c