From bfb31c3d41c80e7b76eb4850e99870d338b4bb64 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Mon, 11 Feb 2019 02:04:02 +0000 Subject: [PATCH] cris.c (cris_preferred_minimum_alignment): Fix name typo. * config/cris/cris.c (cris_preferred_minimum_alignment): Fix name typo. From-SVN: r268760 --- gcc/ChangeLog | 5 +++++ gcc/config/cris/cris.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) 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 -- 2.30.2