diff options
author | davids <davids@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-09-01 12:40:10 +0000 |
---|---|---|
committer | davids <davids@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-09-01 12:40:10 +0000 |
commit | 6c090767759b61160f60d6e0d74b5563ba7a90aa (patch) | |
tree | 39300825036668747f5676c29cb8b3f7d72440bd /gcc/genmodes.c | |
parent | 93907f38a3141b8385e669ebfd422a1446c268a7 (diff) | |
download | gcc-6c090767759b61160f60d6e0d74b5563ba7a90aa.tar.gz |
2015-09-01 David Sherwood <david.sherwood@arm.com>
gcc/
* genmodes.c: Add CONST_MODE_UNIT_SIZE modifier.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227369 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genmodes.c')
-rw-r--r-- | gcc/genmodes.c | 3 |
1 files changed, 2 insertions, 1 deletions
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\ {"); |