From: Hans-Peter Nilsson Date: Mon, 11 Feb 2019 02:04:02 +0000 (+0000) Subject: cris.c (cris_preferred_minimum_alignment): Fix name typo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bfb31c3d41c80e7b76eb4850e99870d338b4bb64;p=gcc.git cris.c (cris_preferred_minimum_alignment): Fix name typo. * config/cris/cris.c (cris_preferred_minimum_alignment): Fix name typo. From-SVN: r268760 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1df0ce913e7..61896842aa1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-02-11 Hans-Peter Nilsson + + * config/cris/cris.c (cris_preferred_minimum_alignment): Fix name + typo. + 2019-02-10 H.J. Lu * config/i386/constraints.md (Yd): Replace AVX512BW with AVX512DQ diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c index 45ca6fbea0a..9b580ceb288 100644 --- a/gcc/config/cris/cris.c +++ b/gcc/config/cris/cris.c @@ -4340,7 +4340,7 @@ cris_hard_regno_mode_ok (unsigned int regno, machine_mode mode) /* Return the preferred minimum alignment for a static object. */ static HOST_WIDE_INT -cris_preferred_mininum_alignment (void) +cris_preferred_minimum_alignment (void) { if (!TARGET_CONST_ALIGN) return 8; @@ -4354,7 +4354,7 @@ cris_preferred_mininum_alignment (void) static HOST_WIDE_INT cris_static_rtx_alignment (machine_mode mode) { - return MAX (cris_preferred_mininum_alignment (), GET_MODE_ALIGNMENT (mode)); + return MAX (cris_preferred_minimum_alignment (), GET_MODE_ALIGNMENT (mode)); } /* Implement TARGET_CONSTANT_ALIGNMENT. Note that this hook has the @@ -4367,7 +4367,7 @@ cris_static_rtx_alignment (machine_mode mode) static HOST_WIDE_INT cris_constant_alignment (const_tree, HOST_WIDE_INT basic_align) { - return MAX (cris_preferred_mininum_alignment (), basic_align); + return MAX (cris_preferred_minimum_alignment (), basic_align); } #if 0