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
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,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96427
vfdff changed:
What|Removed |Added
CC||zhongyunde at huawei dot com
--- Comment #4 from
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96427
Richard Biener changed:
What|Removed |Added
Last reconfirmed||2020-08-03
Ever confirmed|0