]> gcc.gnu.org Git - gcc.git/commitdiff
machmode.h (smallest_mode_for_size): Prototype.
authorRichard Henderson <rth@cygnus.com>
Thu, 11 Mar 1999 13:56:20 +0000 (05:56 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 11 Mar 1999 13:56:20 +0000 (05:56 -0800)
        * machmode.h (smallest_mode_for_size): Prototype.
        * stor-layout.c (smallest_mode_for_size): Remove static.

From-SVN: r25703

gcc/ChangeLog
gcc/machmode.h
gcc/stor-layout.c

index ebb8f19ec54666827f3661adcc7e349965e7295d..85ae797c53e9f26353a43629152176da6e0e1ae4 100644 (file)
@@ -1,3 +1,8 @@
+Thu Mar 11 13:55:52 1999  Richard Henderson  <rth@cygnus.com>
+
+       * machmode.h (smallest_mode_for_size): Prototype.
+       * stor-layout.c (smallest_mode_for_size): Remove static.
+
 Thu Mar 11 21:25:59 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
 
        * loop.c (strength_reduce): Don't do biv increment -> DEST_REG giv
index 75a7d09d51df2e87b823caa631df47bb3b1cf703..595d8bd6187fb8ba3921cdd35c092590447c690a 100644 (file)
@@ -199,6 +199,12 @@ extern unsigned char mode_wider_mode[];
 
 extern enum machine_mode mode_for_size PROTO((unsigned int, enum mode_class, int));
 
+/* Similar, but find the smallest mode for a given width.  */
+
+extern enum machine_mode smallest_mode_for_size  PROTO((unsigned int,
+                                                        enum mode_class));
+
+
 /* Return an integer mode of the exact same size as the input mode,
    or BLKmode on failure.  */
 
index a712664843feda314ef5dae8ce1a1e14b7002edb..798a7956707d68331d787ad11c05ef3578e1117c 100644 (file)
@@ -53,8 +53,6 @@ int maximum_field_alignment;
    May be overridden by front-ends.  */
 int set_alignment = 0;
 
-static enum machine_mode smallest_mode_for_size  PROTO((unsigned int,
-                                                       enum mode_class));
 static tree layout_record      PROTO((tree));
 static void layout_union       PROTO((tree));
 \f
@@ -159,7 +157,7 @@ mode_for_size (size, class, limit)
 /* Similar, but never return BLKmode; return the narrowest mode that
    contains at least the requested number of bits.  */
 
-static enum machine_mode
+enum machine_mode
 smallest_mode_for_size (size, class)
      unsigned int size;
      enum mode_class class;
This page took 0.099827 seconds and 5 git commands to generate.