http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45819
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-09-28
16:04:38 UTC ---
As a matter of clean implementation I suggest to do
struct st {
int ptr;
} __attribute__ ((packed,aligned(__alignof__(int))));
(why use packed if the int is always aligned?)
