aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-10-01 07:46:45 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-10-01 07:46:45 +0000
commitba8fa8daf52c560fce0e4d35556137ca5b8217d0 (patch)
tree39cac96d64b70ecd60b17bf7109d4d216cf203af
parentbd2d1b3d44353c0f4e3a628fc338810dca68dafc (diff)
downloadgcc-ba8fa8daf52c560fce0e4d35556137ca5b8217d0.zip
gcc-ba8fa8daf52c560fce0e4d35556137ca5b8217d0.tar.gz
gcc-ba8fa8daf52c560fce0e4d35556137ca5b8217d0.tar.bz2
Update remaining calls to choose_hard_reg_mode
2019-10-01 Richard Sandiford <richard.sandiford@arm.com> gcc/ * regs.h (HARD_REGNO_CALLER_SAVE_MODE): Update call to choose_hard_reg_mode. * config/sparc/sparc.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise. From-SVN: r276388
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/sparc/sparc.h2
-rw-r--r--gcc/regs.h2
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d1fa196..aa44ccd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2019-10-01 Richard Sandiford <richard.sandiford@arm.com>
+
+ * regs.h (HARD_REGNO_CALLER_SAVE_MODE): Update call to
+ choose_hard_reg_mode.
+ * config/sparc/sparc.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise.
+
2019-10-01 Segher Boessenkool <segher@kernel.crashing.org>
* doc/md.texi (vec_pack_trunc_@var{m}): Fix typo.
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index d147418..2b730f7 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -716,7 +716,7 @@ along with GCC; see the file COPYING3. If not see
mode but the largest suitable mode for the given (REGNO, NREGS) pair and
it quickly creates paradoxical subregs that can be problematic. */
#define HARD_REGNO_CALLER_SAVE_MODE(REGNO, NREGS, MODE) \
- ((MODE) == VOIDmode ? choose_hard_reg_mode (REGNO, NREGS, false) : (MODE))
+ ((MODE) == VOIDmode ? choose_hard_reg_mode (REGNO, NREGS, NULL) : (MODE))
/* Specify the registers used for certain standard purposes.
The values of these macros are register numbers. */
diff --git a/gcc/regs.h b/gcc/regs.h
index 821979e..ea775df 100644
--- a/gcc/regs.h
+++ b/gcc/regs.h
@@ -192,7 +192,7 @@ extern int caller_save_needed;
/* Select a register mode required for caller save of hard regno REGNO. */
#ifndef HARD_REGNO_CALLER_SAVE_MODE
#define HARD_REGNO_CALLER_SAVE_MODE(REGNO, NREGS, MODE) \
- choose_hard_reg_mode (REGNO, NREGS, false)
+ choose_hard_reg_mode (REGNO, NREGS, NULL)
#endif
/* Target-dependent globals. */