summary refs log tree commit diff stats
path: root/include/qemu/compiler.h
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2020-12-11 16:24:15 +0100
committerThomas Huth <thuth@redhat.com>2020-12-18 09:14:22 +0100
commit4f02d49a80fdb3c5898dd32b5879289425ee158f (patch)
treec05afe2312a77fda93681f61bc21f8fbd232866d /include/qemu/compiler.h
parent75ee62ac606bfc9eb59310b9446df3434bf6e8c2 (diff)
downloadfocaccia-qemu-4f02d49a80fdb3c5898dd32b5879289425ee158f.tar.gz
focaccia-qemu-4f02d49a80fdb3c5898dd32b5879289425ee158f.zip
disas/libvixl: Fix fall-through annotation for GCC >= 7
For compiling with -Wimplicit-fallthrough we need to fix the
fallthrough annotations in the libvixl code. This is based on
the following upstream vixl commit by Martyn Capewell:

 https://git.linaro.org/arm/vixl.git/commit/?id=de326f850f736c3a337

 "GCC 7 enables switch/case fallthrough checking, but this fails in
  VIXL, because the annotation we use is Clang specific.

  Also, fix a missing annotation in the disassembler."

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20201211152426.350966-2-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/qemu/compiler.h')
0 files changed, 0 insertions, 0 deletions