[Bug 1267761]

Michael Hudson-Doyle michael.hudson+lp at canonical.com
Mon Jan 13 01:00:43 UTC 2014


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
Foundations Bugs, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1267761

Title:
  miscompilation of unsigned comparison on aarch64

Status in The GNU Compiler Collection:
  Fix Released
Status in Linaro GCC:
  New
Status in “gcc-4.8” package in Ubuntu:
  Fix Released
Status in “gcc-4.8” source package in Trusty:
  Fix Released

Bug description:
  see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59744

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



More information about the foundations-bugs mailing list