genmodes.c: Add CONST_MODE_UNIT_SIZE modifier.

2015-09-01  David Sherwood  <david.sherwood@arm.com>

    gcc/
	* genmodes.c: Add CONST_MODE_UNIT_SIZE modifier.

From-SVN: r227369
This commit is contained in:
David Sherwood 2015-09-01 12:40:10 +00:00 committed by David Sherwood
parent e65bf4e814
commit f22b057522
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-09-01 David Sherwood <david.sherwood@arm.com>
* genmodes.c: Add CONST_MODE_UNIT_SIZE modifier.
2015-09-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* ifcvt.c (struct noce_if_info): Add then_simple, else_simple,

View File

@ -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\
{");