From: David Sherwood Date: Tue, 1 Sep 2015 12:40:10 +0000 (+0000) Subject: genmodes.c: Add CONST_MODE_UNIT_SIZE modifier. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f22b057522f25bd929fffb7cea39104fe435c906;p=gcc.git genmodes.c: Add CONST_MODE_UNIT_SIZE modifier. 2015-09-01 David Sherwood gcc/ * genmodes.c: Add CONST_MODE_UNIT_SIZE modifier. From-SVN: r227369 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c14f3540ff4..725ae192d9a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-09-01 David Sherwood + + * genmodes.c: Add CONST_MODE_UNIT_SIZE modifier. + 2015-09-01 Kyrylo Tkachov * ifcvt.c (struct noce_if_info): Add then_simple, else_simple, diff --git a/gcc/genmodes.c b/gcc/genmodes.c index 065ca54f30b..15d62a0f405 100644 --- a/gcc/genmodes.c +++ b/gcc/genmodes.c @@ -1063,7 +1063,8 @@ extern __inline__ __attribute__((__always_inline__, __gnu_inline__))\n\ unsigned char\n\ mode_unit_size_inline (machine_mode mode)\n\ {\n\ - extern unsigned char mode_unit_size[NUM_MACHINE_MODES];\n\ + extern CONST_MODE_UNIT_SIZE unsigned char mode_unit_size[NUM_MACHINE_MODES];\ +\n\ switch (mode)\n\ {");