Forum Discussion
Altera_Forum
Honored Contributor
21 years agoAlignment of structures
Hello, I know that this is very basic question which is not only relating to Nios. In the web and in the documentation of GCC I didn’t find a satisfactory answer. Will a structure like the...
Altera_Forum
Honored Contributor
21 years agoYou cannot rely on that. Compilers can and do align things as they see fit, and this could change in future revisions of the compiler. You need to look in the GCC documenation for the aligned attribute.