nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor of using optimize_size.
authorChung-Ju Wu <jasonwucj@gmail.com>
Wed, 7 May 2014 06:34:15 +0000 (06:34 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Wed, 7 May 2014 06:34:15 +0000 (06:34 +0000)
* config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor
of using optimize_size.

From-SVN: r210137

gcc/ChangeLog
gcc/config/nds32/nds32.h

index bd83c31..ed5ca0a 100644 (file)
@@ -1,3 +1,8 @@
+2014-05-07  Chung-Ju Wu  <jasonwucj@gmail.com>
+
+       * config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor
+       of using optimize_size.
+
 2014-05-06  Mike Stump  <mikestump@comcast.net>
 
        * wide-int.h (wi::int_traits <HOST_WIDE_INT>): Always define.
index 8f966ec..bbcf100 100644 (file)
@@ -553,7 +553,7 @@ enum nds32_builtins
 
 /* Tell IRA to use the order we define rather than messing it up with its
    own cost calculations.  */
-#define HONOR_REG_ALLOC_ORDER 1
+#define HONOR_REG_ALLOC_ORDER optimize_size
 
 /* The number of consecutive hard regs needed starting at
    reg "regno" for holding a value of mode "mode".  */