target-alpha: Avoid gcc 6.1 werror for linux-user
commitfdc997ef54c5b2c3483969aee5f1d5f2a7587520
authorRichard Henderson <rth@twiddle.net>
Fri, 17 Jun 2016 19:46:33 +0000 (17 12:46 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Jun 2016 20:03:58 +0000 (27 21:03 +0100)
treef61e9d04329eb555a3e415ca20e10eafbb1c077b
parent14e60aaece20a1cfc059a69f6491b0899f9257a8
target-alpha: Avoid gcc 6.1 werror for linux-user

Using gcc 6.1 for alpha-linux-user target we see the following build error:

.../target-alpha/translate.c: In function ‘in_superpage’:
.../target-alpha/translate.c:454:52: error: self-comparison always evaluates to true [-Werror=tautological-compare]
             && addr >> TARGET_VIRT_ADDR_SPACE_BITS == addr >> 63);

Reported-by: Pranith Kumar <bobby.prani@gmail.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Message-id: 1466192793-2559-1-git-send-email-rth@twiddle.net
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-alpha/translate.c