mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 12:00:03 -05:00
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.