gcc/libgomp/plugin
Jakub Jelinek f4b80b0338 libgomp: Avoid -Waddress warning
The function has assert (htab_find) with a comment that that is to
avoid -Wunused-function warning.  The problem is that it triggers
a different warning,
../../../libgomp/plugin/build-target-indirect-htab.h:68:3: warning: the address of ‘htab_find’ will always evaluate as ‘true’
(or error depending on exact flags).

This uses (void) htab_find instead to avoid any diagnostics.

2025-12-15  Jakub Jelinek  <jakub@redhat.com>

	* plugin/build-target-indirect-htab.h (create_target_indirect_map):
	Use (void) htab_find instead of assert (htab_find) to silence
	-Werror=unused-function because the latter triggers -Werror=address.
2025-12-15 19:08:06 +01:00
..
Makefrag.am libgomp, amdgcn: Implement Managed Memory 2025-12-01 12:03:35 +00:00
build-target-indirect-htab.h libgomp: Avoid -Waddress warning 2025-12-15 19:08:06 +01:00
configfrag.ac
cuda-lib.def openmp, nvptx: ompx_gnu_managed_mem_alloc 2025-11-13 14:16:09 +00:00
mutex.c libgomp, amdgcn: Implement Managed Memory 2025-12-01 12:03:35 +00:00
plugin-gcn.c amdgcn, libgomp: improve generic device errors 2025-12-04 15:35:05 +00:00
plugin-nvptx.c openmp, nvptx: ompx_gnu_managed_mem_alloc 2025-11-13 14:16:09 +00:00