diff options
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r-- | gcc/stor-layout.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 0d4f4a4..9757777 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -491,7 +491,7 @@ bitwise_type_for_mode (machine_mode mode) if (COMPLEX_MODE_P (mode)) return build_complex_type (inner_type); - gcc_checking_assert (GET_MODE_INNER (mode) == VOIDmode); + gcc_checking_assert (GET_MODE_INNER (mode) == mode); return inner_type; } @@ -548,18 +548,6 @@ get_mode_alignment (machine_mode mode) return MIN (BIGGEST_ALIGNMENT, MAX (1, mode_base_align[mode]*BITS_PER_UNIT)); } -/* Return the precision of the mode, or for a complex or vector mode the - precision of the mode of its elements. */ - -unsigned int -element_precision (machine_mode mode) -{ - if (COMPLEX_MODE_P (mode) || VECTOR_MODE_P (mode)) - mode = GET_MODE_INNER (mode); - - return GET_MODE_PRECISION (mode); -} - /* Return the natural mode of an array, given that it is SIZE bytes in total and has elements of type ELEM_TYPE. */ |