https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128846
--- Comment #17 from Richard Biener <rguenth at gcc dot gnu.org> --- We do not currently have a way to communicate the maximum alignment for a TLS variable (or a variable in a non-default address-space) but have MAX_OFILE_ALIGNMENT only for this. There's various hooks to specify default alignment of things and there's absolute_biggest_alignment (I do not recall why we added that over BIGGEST_ALIGNMENT). I suppose hookizing MAX_OFILE_ALIGNMENT, parametrizing it on either TLS, address-space, section(?) or simply get it a decl and use that to bound alignment increase requested by the vectorizer and diagnose user supplied alignment that cannot be fulfilled would be reasonable.
