https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96427
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- (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, i.e. it have different behaviour base on different gcc version. > > so it is a undefined behaviour ? Well, it's an optimization so it's unspecified, not undefined behavior.