Mail Archives: cygwin-developers/1998/05/15/06:15:23
Would this be better than -m486 to get 8 byte default struct alignment?
and more importantly would it break anything else?
(dosen't seem to, but I'm not a gcc guru :)
#define DATA_ALIGNMENT(TYPE, ALIGN) \
((TREE_CODE (TYPE) == RECORD_TYPE \
|| TREE_CODE(TYPE) == UNION_TYPE \
|| TREE_CODE(TYPE) == QUAL_UNION_TYPE) \
&& TYPE_FIELDS (TYPE) != 0 \
&& !TYPE_PACKED (TYPE) \
&& !DECL_PACKED (TYPE) \
&& (ALIGN) < 64 ? 64 : (ALIGN))
=====================================================
Linux a platform built by, and for users, standing on
the firm legs of reliability, and speed.
Microsoft Windows, a platform without a leg to stand on.
(jeffdbREMOVETHIS AT goodnet DOT com)
delete REMOVETHIS from the above to reply
Mikey
- Raw text -