public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/2] Address warnings from gcc 12.2 with -flto
@ 2022-09-28 19:00 Stefano Brivio
  2022-09-28 19:00 ` [PATCH 1/2] Makefile: Extend noinline workarounds for LTO and -O2 to gcc 12 Stefano Brivio
  2022-09-28 19:00 ` [PATCH 2/2] udp: Replace pragma to ignore bogus stringop-overread warning with workaround Stefano Brivio
  0 siblings, 2 replies; 3+ messages in thread
From: Stefano Brivio @ 2022-09-28 19:00 UTC (permalink / raw)
  To: passt-dev

[-- Attachment #1: Type: text/plain, Size: 699 bytes --]

The first one is a bogus report of an uninitialised field passed as
input to hash functions for TCP connections, already seen with gcc 11.

The second one is a bogus stringop-overread which already happened
with gcc 12.1, but this time a "cute" pragma won't make it go away.

Both harmless, but noisy.

Based on pending series posted by David, if it matters.

Stefano Brivio (2):
  Makefile: Extend noinline workarounds for LTO and -O2 to gcc 12
  udp: Replace pragma to ignore bogus stringop-overread warning with
    workaround

 Makefile |  6 +++---
 udp.c    | 26 ++++++++++++++++++--------
 util.h   | 23 -----------------------
 3 files changed, 21 insertions(+), 34 deletions(-)

-- 
2.35.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-28 19:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28 19:00 [PATCH 0/2] Address warnings from gcc 12.2 with -flto Stefano Brivio
2022-09-28 19:00 ` [PATCH 1/2] Makefile: Extend noinline workarounds for LTO and -O2 to gcc 12 Stefano Brivio
2022-09-28 19:00 ` [PATCH 2/2] udp: Replace pragma to ignore bogus stringop-overread warning with workaround Stefano Brivio

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).