summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChung-Ju Wu <jasonwucj@gmail.com>2014-05-07 06:34:15 +0000
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>2014-05-07 06:34:15 +0000
commit9609240458935f9cb80c8d13dfa57b3b26691185 (patch)
tree57eb2a1a1420016c1088b0f7255079744530ea42
parent157a50f99cea6d9fbb9dbe5bb651cc44ef56f79d (diff)
downloadgcc-9609240458935f9cb80c8d13dfa57b3b26691185.tar.gz
nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor of using optimize_size.
* config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor of using optimize_size. From-SVN: r210137
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/nds32/nds32.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bd83c310190..ed5ca0ae9ed 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/nds32/nds32.h b/gcc/config/nds32/nds32.h
index 8f966ec1475..bbcf1005e02 100644
--- a/gcc/config/nds32/nds32.h
+++ b/gcc/config/nds32/nds32.h
@@ -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". */