[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] disas/libvixl: Fix fall-through annotation for GCC >= 7
From: |
Peter Maydell |
Subject: |
Re: [PATCH] disas/libvixl: Fix fall-through annotation for GCC >= 7 |
Date: |
Mon, 24 Aug 2020 14:18:12 +0100 |
On Mon, 24 Aug 2020 at 14:01, Thomas Huth <thuth@redhat.com> wrote:
>
> 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."
Maybe I should just update us to a newer upstream vixl...
-- PMM