From: Richard Sandiford Date: Tue, 1 Oct 2019 07:46:45 +0000 (+0000) Subject: Update remaining calls to choose_hard_reg_mode X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba8fa8daf52c560fce0e4d35556137ca5b8217d0;p=gcc.git Update remaining calls to choose_hard_reg_mode 2019-10-01 Richard Sandiford 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d1fa196ba7a..aa44ccd6390 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-10-01 Richard Sandiford + + * 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 * 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 d14741846f5..2b730f74389 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 821979ec672..ea775df82d0 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. */