public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
From: gdb-buildbot@sergiodj.net
To: gdb-testers@sourceware.org
Subject: [binutils-gdb] ubsan: hppa: negation of -2147483648
Date: Mon, 20 Jan 2020 11:55:00 -0000	[thread overview]
Message-ID: <4d6cbb644265d565eb743ffa2bd04092c2b05518@gdb-build> (raw)

*** TEST RESULTS FOR COMMIT 4d6cbb644265d565eb743ffa2bd04092c2b05518 ***

commit 4d6cbb644265d565eb743ffa2bd04092c2b05518
Author:     Alan Modra <amodra@gmail.com>
AuthorDate: Mon Jan 20 12:32:37 2020 +1030
Commit:     Alan Modra <amodra@gmail.com>
CommitDate: Mon Jan 20 15:45:50 2020 +1030

    ubsan: hppa: negation of -2147483648
    
            * hppa-dis.c (fput_const): Remove useless cast.

diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 04eaa863e7..de9b9e312d 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2020-01-20  Alan Modra  <amodra@gmail.com>
+
+	* hppa-dis.c (fput_const): Remove useless cast.
+
 2020-01-20  Alan Modra  <amodra@gmail.com>
 
 	* arm-dis.c (print_insn_arm): Wrap 'T' value.
diff --git a/opcodes/hppa-dis.c b/opcodes/hppa-dis.c
index 3c15701716..93156da7cb 100644
--- a/opcodes/hppa-dis.c
+++ b/opcodes/hppa-dis.c
@@ -207,7 +207,7 @@ static void
 fput_const (unsigned num, disassemble_info *info)
 {
   if ((int) num < 0)
-    (*info->fprintf_func) (info->stream, "-%x", - (int) num);
+    (*info->fprintf_func) (info->stream, "-%x", -num);
   else
     (*info->fprintf_func) (info->stream, "%x", num);
 }


             reply	other threads:[~2020-01-20 11:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-20 11:55 gdb-buildbot [this message]
2020-01-20 12:09 ` Failures on Ubuntu-Aarch64-native-gdbserver-m64, branch master gdb-buildbot
2020-01-20 12:09 ` Failures on Ubuntu-Aarch64-m64, " gdb-buildbot
2020-01-21 13:47 ` Failures on Fedora-i686, " gdb-buildbot
2020-01-21 14:20 ` Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot
2020-01-21 14:23 ` Failures on Fedora-x86_64-m64, " gdb-buildbot
2020-01-21 14:32 ` Failures on Fedora-x86_64-m32, " gdb-buildbot
2020-01-21 14:46 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " gdb-buildbot
2020-01-21 14:51 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot
2020-01-21 15:06 ` Failures on Fedora-x86_64-native-gdbserver-m32, " gdb-buildbot
2020-01-21 15:45 ` Failures on Fedora-x86_64-native-gdbserver-m64, " gdb-buildbot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4d6cbb644265d565eb743ffa2bd04092c2b05518@gdb-build \
    --to=gdb-buildbot@sergiodj.net \
    --cc=gdb-testers@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).