https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107846
--- Comment #7 from James Hilliard <james.hilliard1 at gmail dot com> --- (In reply to Jakub Jelinek from comment #6) > Created attachment 53984 [details] > gcc13-pr107846.patch > > Untested fix. This appears to fix error, the warning is still present: progs/test_tc_tunnel.c: In function '__encap_ipv4': progs/test_tc_tunnel.c:228:31: warning: taking address of packed member of 'struct v4hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 228 | set_ipv4_csum((void *)&h_outer.ip); | ^~~~~~~~~~~