aboutgitcodebugslistschat
path: root/util.h
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-09-28 20:36:57 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-09-29 12:23:07 +0200
commit505a33e9f9d9d766e39fd9c54c6cb2136ae99ecb (patch)
treec25fbbd8556040494b6f7407a443c62ddd886069 /util.h
parent65b649017c7e42b1c03de46fc9f2a918c53e64d9 (diff)
downloadpasst-505a33e9f9d9d766e39fd9c54c6cb2136ae99ecb.tar
passt-505a33e9f9d9d766e39fd9c54c6cb2136ae99ecb.tar.gz
passt-505a33e9f9d9d766e39fd9c54c6cb2136ae99ecb.tar.bz2
passt-505a33e9f9d9d766e39fd9c54c6cb2136ae99ecb.tar.lz
passt-505a33e9f9d9d766e39fd9c54c6cb2136ae99ecb.tar.xz
passt-505a33e9f9d9d766e39fd9c54c6cb2136ae99ecb.tar.zst
passt-505a33e9f9d9d766e39fd9c54c6cb2136ae99ecb.zip
Makefile: Extend noinline workarounds for LTO and -O2 to gcc 12
Commit 1a563a0cbd49 ("passt: Address gcc 11 warnings") works around an issue where the remote address passed to hash functions is seen as uninitialised by gcc, with -flto and -O2. It turns out we get the same exact behaviour on gcc 12.1 and 12.2, so extend the applicability of the same workaround to gcc 12. Don't go further than that, though: should the issue reported at: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78993 happen to be fixed in a later version of gcc, we won't need the noinline attributes anymore. Otherwise, we'll notice. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions