[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 00/13] Remove GCC < 4.8 checks
From: |
marcandre . lureau |
Subject: |
[PATCH v3 00/13] Remove GCC < 4.8 checks |
Date: |
Thu, 10 Dec 2020 17:47:39 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Hi,
Since commit efc6c07 ("configure: Add a test for the minimum compiler version"),
QEMU explicitely depends on GCC >= 4.8.
v3:
- drop first patch replacing QEMU_GNUC_PREREQ with G_GNUC_CHECK_VERSION
- add last patch to remove QEMU_GNUC_PREREQ
- tweak commit messages to replace clang 3.8 with clang 3.4
- fix some extra coding style
- collect r-b/a-b tags
v2:
- include reviewed Philippe earlier series
- drop problematic patch to replace GCC_FMT_ATTR, but tweak the check to be
clang
- replace QEMU_GNUC_PREREQ with G_GNUC_CHECK_VERSION
- split changes
- add patches to drop __GNUC__ checks (clang advertizes itself as 4.2.1, unless
-fgnuc-version=0)
Marc-André Lureau (11):
compiler.h: remove GCC < 3 __builtin_expect fallback
qemu-plugin.h: remove GCC < 4
tests: remove GCC < 4 fallbacks
virtiofsd: replace _Static_assert with QEMU_BUILD_BUG_ON
compiler.h: explicit case for Clang printf attribute
audio: remove GNUC & MSVC check
poison: remove GNUC check
xen: remove GNUC check
compiler: remove GNUC check
linux-user: remove GNUC check
compiler.h: remove QEMU_GNUC_PREREQ
Philippe Mathieu-Daudé (2):
qemu/atomic: Drop special case for unsupported compiler
accel/tcg: Remove special case for GCC < 4.6
include/exec/poison.h | 2 --
include/hw/xen/interface/io/ring.h | 9 ------
include/qemu/atomic.h | 17 -----------
include/qemu/compiler.h | 45 ++++++++----------------------
include/qemu/qemu-plugin.h | 9 ++----
scripts/cocci-macro-file.h | 1 -
tools/virtiofsd/fuse_common.h | 11 +-------
accel/tcg/cpu-exec.c | 2 +-
audio/audio.c | 8 +-----
linux-user/strace.c | 4 ---
tests/tcg/arm/fcvt.c | 8 ++----
11 files changed, 20 insertions(+), 96 deletions(-)
--
2.29.0