The moxie port had CC_REG referring to a real hard register ($r9) by
mistake instead of the virtual CC register.  This never resulted in
incorrect code, but we would often see $r9 marked as used in a function
when it actually wasn't.  I'm checking this in.

2015-01-09  Anthony Green  <gr...@moxielogic.com>

        * config/moxie/moxie.md (CC_REG): Correct register definition.


Index: gcc/config/moxie/moxie.md
===================================================================
--- gcc/config/moxie/moxie.md   (revision 219418)
+++ gcc/config/moxie/moxie.md   (working copy)
@@ -367,7 +367,7 @@
 ;; -------------------------------------------------------------------------
 
 (define_constants
-  [(CC_REG 11)])
+  [(CC_REG 19)])
 
 (define_expand "cbranchsi4"
   [(set (reg:CC CC_REG)

Reply via email to