Committed, config/cris/cris.c: spell "minimum" correctly.

Message ID 201902110210.x1B2A9p1022654@ignucius.se.axis.com
State New
Headers show
Series
  • Committed, config/cris/cris.c: spell "minimum" correctly.
Related show

Commit Message

Hans-Peter Nilsson Feb. 11, 2019, 2:10 a.m.
Spotted while in a recent gdb session.  JFTR, not mine...  Committed.

Patch

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 268759)
+++ ChangeLog	(revision 268760)
@@ -1,3 +1,8 @@ 
+2019-02-11  Hans-Peter Nilsson  <hp@axis.com>
+
+	* config/cris/cris.c (cris_preferred_minimum_alignment): Fix name
+	typo.
+
 2019-02-10  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* config/i386/constraints.md (Yd): Replace AVX512BW with AVX512DQ
Index: config/cris/cris.c
===================================================================
--- config/cris/cris.c	(revision 268759)
+++ config/cris/cris.c	(revision 268760)
@@ -4340,7 +4340,7 @@  cris_hard_regno_mode_ok (unsigned int re
 /* 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 
 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