* machmode.h (smallest_mode_for_size): Prototype.
* stor-layout.c (smallest_mode_for_size): Remove static.
From-SVN: r25703
+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
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. */
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
/* 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;