Forum Discussion
Altera_Forum
Honored Contributor
11 years agoTry using __attribute__((aligned(1))) instead.
Although it really is best to align the data structures. To access misaligned data the compiler has to generate code to do byte memory cycles and shifts.