https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96427
vfdff <zhongyunde at huawei dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zhongyunde at huawei dot com --- Comment #4 from vfdff <zhongyunde at huawei dot com> --- 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, i.e. it have different behaviour base on different gcc version. so it is a undefined behaviour ?