[Bug target/123021] warning while compiling the progs/free_timer.c kernel BPF selftest
jemarch at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 6 17:42:34 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123021
--- Comment #2 from Jose E. Marchesi <jemarch at gcc dot gnu.org> ---
Closing this issue, as it was not a GCC bug. The following patch sent to the
bpf@vger list fixes the offending sefltests to use the new semantics of the
-Wunused-but-set warning in GCC >= 16:
https://lore.kernel.org/bpf/20260106173650.18191-2-jose.marchesi@oracle.com/T/#u
More information about the Gcc-bugs
mailing list