[Bug c/96427] Missing align attribute for anchor section from local variables

2020-08-20 Thread zhongyunde at tom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96427 --- Comment #6 from zhongyunde at tom dot com --- Created attachment 49087 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49087&action=edit adjust the alignment according the attibute If user don't specify the alignment, so we can do some

[Bug c/96427] Missing align attribute for anchor section from local variables

2020-08-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96427 --- Comment #5 from Richard Biener --- (In reply to vfdff from comment #4) > I test your case base on x86-64 gcc 10.1 with -O2 -S -mavx512f, the .rodata > aligned to 64 bytes, and it aligned to 32 bytes on x86-64 gcc 9.3 with -O2 > -S -mavx512f,

[Bug c/96427] Missing align attribute for anchor section from local variables

2020-08-05 Thread zhongyunde at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96427 vfdff changed: What|Removed |Added CC||zhongyunde at huawei dot com --- Comment #4 from

[Bug c/96427] Missing align attribute for anchor section from local variables

2020-08-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96427 --- Comment #3 from Richard Biener --- (In reply to zhongyu...@tom.com from comment #2) > should the data alignment honor the user specified ? Technically the user requested alignment for the variable and GCC chose to elide that with the constan

[Bug c/96427] Missing align attribute for anchor section from local variables

2020-08-03 Thread zhongyunde at tom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96427 --- Comment #2 from zhongyunde at tom dot com --- should the data alignment honor the user specified ? Now, it seems compiler _do_ align the initializer according align load. so even if the local array doesn't specify the __attribute__((aligned

[Bug c/96427] Missing align attribute for anchor section from local variables

2020-08-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96427 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-08-03 Ever confirmed|0