On 10/1/23 17:02, Paolo Bonzini wrote:
From: Eric Auger <eric.au...@redhat.com>

To avoid compilation errors when -Werror=maybe-uninitialized is used,
replace 'case 3' by 'default'.

Otherwise we get:

../target/i386/ops_sse.h: In function ‘helper_vpermdq_ymm’:
../target/i386/ops_sse.h:2495:13: error: ‘r3’ may be used

Thanksfully these odd chars                ^^^^^^^^ ...

Signed-off-by: Eric Auger <eric.au...@redhat.com>
Suggested-by: Stefan Weil <s...@weilnetz.de>
Fixes: 790684776861 ("target/i386: reimplement 0x0f 0x3a, add AVX")
Message-Id: <20221221163652.1239362-1-eric.au...@redhat.com>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
---
  target/i386/ops_sse.h | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

... aren't included in your staged commits in
https://gitlab.com/bonzini/qemu.git tags/for-upstream:

commit c0a6665c3c4d63b113ab31c624c53d4a32de2926
Author: Eric Auger <eric.au...@redhat.com>
Date:   Thu Dec 22 15:01:58 2022 +0100

    ../target/i386/ops_sse.h: In function ‘helper_vpermdq_ymm’:
    ../target/i386/ops_sse.h:2495:13: error: ‘r3’ may be used
    uninitialized in this function [-Werror=maybe-uninitialized]
         2495 |     d->Q(3) = r3;
              |     ~~~~~~~~^~~~

So not a blocker.

Maybe a git-send-email issue?

Reply via email to