aboutsummaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2016-07-27 20:35:35 +0000
committerBernd Edlinger <edlinger@gcc.gnu.org>2016-07-27 20:35:35 +0000
commitec1e2a4097535d7075929d638f4120c5a5694725 (patch)
tree30936762c7a8b046127e013b16d6d42f50e93b71 /gcc/stor-layout.c
parent98060bbea842d8b0f3b5d41efa6ef15c266efcf4 (diff)
downloadgcc-ec1e2a4097535d7075929d638f4120c5a5694725.zip
gcc-ec1e2a4097535d7075929d638f4120c5a5694725.tar.gz
gcc-ec1e2a4097535d7075929d638f4120c5a5694725.tar.bz2
defaults.h (LOG2_BITS_PER_UNIT): Move from here...
2016-07-27 Bernd Edlinger <bernd.edlinger@hotmail.de> * defaults.h (LOG2_BITS_PER_UNIT): Move from here... * tree.h (LOG2_BITS_PER_UNIT): ...to here. (BITS_PER_UNIT_LOG): Remove. (int_bit_position): Use LOG2_BITS_PER_UNIT instead of BITS_PER_UNIT_LOG. * expr.c (expand_assignment): Likewise. * stor-layout.c (initialize_sizetypes): Likewise. c-family: 2016-07-27 Bernd Edlinger <bernd.edlinger@hotmail.de> * c-common.c (check_user_alignment): Use LOG2_BITS_PER_UNIT instead of BITS_PER_UNIT_LOG. From-SVN: r238800
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r--gcc/stor-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index 4ada959..242e79b 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -2572,7 +2572,7 @@ initialize_sizetypes (void)
}
bprecision
- = MIN (precision + BITS_PER_UNIT_LOG + 1, MAX_FIXED_MODE_SIZE);
+ = MIN (precision + LOG2_BITS_PER_UNIT + 1, MAX_FIXED_MODE_SIZE);
bprecision
= GET_MODE_PRECISION (smallest_mode_for_size (bprecision, MODE_INT));
if (bprecision > HOST_BITS_PER_DOUBLE_INT)