From f22b057522f25bd929fffb7cea39104fe435c906 Mon Sep 17 00:00:00 2001 From: David Sherwood Date: Tue, 1 Sep 2015 12:40:10 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 4 ++++ gcc/genmodes.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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\ {"); -- 2.30.2