This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: attribute ((packed)) on variables


char name[33] __attribute__((aligned(1)));
char name[33] __attribute__((packed));
>> Is there any way to misalign objects larger than 32 byte?

>Not in 2.95.2.  If you download the current snapshot it will work.

I compiled above code online at http://www.codesourcery.com/gcc-compile.html
but I still get code like:
 .comm 33,32
or
 .data
 .align 32

Any suggestions?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]