From afa5870f1bfafa1ccfa8a4b3f432c07c19a2447e Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 24 Jul 2015 09:10:18 -0700 Subject: Add 'U' suffix to silence GCC 6 warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GCC 6 warns: error: result of β€˜63 << 26’ requires 33 bits to represent, but β€˜int’ only has 32 bits [-Werror=shift-overflow=] on 0x3f << 26. This patch adds 'U' suffix to make integer constant unsigned. * alpha.c (OP_Jxx): Add 'U' suffix to make it unsigned. (OP_BSR): Likewise. (Jxx_FUNC_JMP): Likewise. (Jxx_FUNC_JSR): Likewise. (Jxx_FUNC_RET): Likewise. (Jxx_FUNC_JSR_COROUTINE): Likewise. (alpha_find_call): Replace 0x3f with 0x3fU. --- gprof/ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gprof/ChangeLog') diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 7a2087b..d93046b 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,13 @@ +2015-07-24 H.J. Lu + + * alpha.c (OP_Jxx): Add 'U' suffix to make it unsigned. + (OP_BSR): Likewise. + (Jxx_FUNC_JMP): Likewise. + (Jxx_FUNC_JSR): Likewise. + (Jxx_FUNC_RET): Likewise. + (Jxx_FUNC_JSR_COROUTINE): Likewise. + (alpha_find_call): Replace 0x3f with 0x3fU. + 2015-04-29 Nick Clifton * po/da.po: Update Danish translation. -- cgit v1.1