From: Chung-Ju Wu Date: Wed, 7 May 2014 06:34:15 +0000 (+0000) Subject: nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor of using optimize_size. X-Git-Tag: releases/gcc-5.1.0~7744 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9609240458935f9cb80c8d13dfa57b3b26691185;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bd83c3101901..ed5ca0ae9ed1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-05-07 Chung-Ju Wu + + * config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor + of using optimize_size. + 2014-05-06 Mike Stump * wide-int.h (wi::int_traits ): Always define. diff --git a/gcc/config/nds32/nds32.h b/gcc/config/nds32/nds32.h index 8f966ec1475e..bbcf1005e027 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". */