Constant data size regression
Bug #640544 reported by
Andrew Stubbs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro GCC |
Fix Released
|
Undecided
|
Chung-Lin Tang |
Bug Description
The following code demonstrates a significant data size regression. With 4.3 based toochains it requires only 8 bytes of rom. With 4.4. based toolchains and above, each array is aligned to a 4-byte boundary. My application has several hundred such off sized arrays, so no longer fits in rom.
Adding __attribute_
const char data1[] =
{
1, 2, 3, 4, 5
};
const char data2[] =
{
7, 8, 9
};
[CodeSourcery Tracker ID #8615]
tags: | added: size task |
To post a comment you must log in.
I see this is already merged into Linaro 4.5, closing.