[Bug middle-end/22605] Alignment of struct on stack is no longer the maxium alignment

2007-09-29 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-09-29 20:42 --- if you want aligned arrays use attribute aligned. Now GCC should automatically doing it for non -Os/stack saving mode for optimization reasons but other than that, you cannot depend on the alignment. -- http://

[Bug middle-end/22605] Alignment of struct on stack is no longer the maxium alignment

2007-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-09-29 20:06 --- As of comment #2 this is a possible enhancement for non -Os (or stack saving mode) on STRICT_ALIGNMENT targets. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added -

[Bug middle-end/22605] Alignment of struct on stack is no longer the maxium alignment

2005-07-22 Thread wilson at gcc dot gnu dot org
--- Additional Comments From wilson at gcc dot gnu dot org 2005-07-22 20:10 --- I think the 16-byte over-alignment in gcc-3.x is a mis-feature. Anything over 8-byte alignment here is useless. However, I also think the 4-byte alignment in gcc-4.0 is a mis-feature. It just looks wierd t

[Bug middle-end/22605] Alignment of struct on stack is no longer the maxium alignment

2005-07-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 18:05 --- Huh? I don't understand what do you mean by stack slots because there is no such thing in GCC. Do you mean you want disk_stat aligned to 16 byte? Note the alignment of disk_stat is 4byte so GCC should not