https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128846
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
On Linux:
[Nr] Name Type Address Offset
Size EntSize Flags Link Info Align
...
[ 6] .tbss NOBITS 0000000000000000 00000088
0000000000000288 0000000000000000 WAT 0 0 16
so the TLS segment is appropriately aligned. With -mavx2 alignment increases:
[ 6] .tbss NOBITS 0000000000000000 00000088
0000000000000288 0000000000000000 WAT 0 0 32
same with -m32 on x86_64-linux.