This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug c/43774] option -O2 generates wrong assembly code



------- Comment #1 from jakub at gcc dot gnu dot org  2010-04-17 06:55 -------
You should make the struct packed, because otherwise you are accessing it
unaligned.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43774


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