diff options
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r-- | gcc/stor-layout.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 9de3233821a..c0837dafd5e 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -1860,23 +1860,6 @@ get_best_mode (bitsize, bitpos, align, largest_mode, volatilep) return mode; } -/* Return the alignment of MODE. This will be bounded by 1 and - BIGGEST_ALIGNMENT. */ - -unsigned int -get_mode_alignment (mode) - enum machine_mode mode; -{ - unsigned int alignment = GET_MODE_UNIT_SIZE (mode); - - /* Extract the LSB of the size. */ - alignment = alignment & -alignment; - alignment *= BITS_PER_UNIT; - - alignment = MIN (BIGGEST_ALIGNMENT, MAX (1, alignment)); - return alignment; -} - /* This function is run once to initialize stor-layout.c. */ void |