Hi, thanks for the super fast fix.  Could it be backported to 4.8?  git
cherry-pick gives a conflict in aarch64.md which is probably easy to fix
if you know how this code works:

(define_insn "*compare_neg<mode>"
<<<<<<< HEAD
  [(set (reg:CC CC_REGNUM)
        (compare:CC
         (match_operand:GPI 0 "register_operand" "r")
         (neg:GPI (match_operand:GPI 1 "register_operand" "r"))))]
||||||| parent of 46b590a...    PR target/9744
  [(set (reg:CC_SWP CC_REGNUM)
        (compare:CC_SWP
         (neg:GPI (match_operand:GPI 0 "register_operand" "r"))
         (match_operand:GPI 1 "register_operand" "r")))]
=======
  [(set (reg:CC_Z CC_REGNUM)
        (compare:CC_Z
         (neg:GPI (match_operand:GPI 0 "register_operand" "r"))
         (match_operand:GPI 1 "register_operand" "r")))]
>>>>>>> 46b590a...      PR target/9744
  ""
  "cmn\\t%<w>0, %<w>1"
  [(set_attr "v8type" "alus")
   (set_attr "mode" "<MODE>")]
)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267761

Title:
  miscompilation of unsigned comparison on aarch64

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1267761/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to