[Bug target/61296] Excessive alignment in ix86_data_alignment
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Dec 16 13:41:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296
--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jakub Jelinek from comment #9)
> (In reply to H.J. Lu from comment #8)
> > Do you have a testcase to show decreasing DATA_ALIGNMENT would break
> > backwards compatibility with older gcc versions?
>
> Older GCC versions used DATA_ALIGNMENT (what is now DATA_ABI_ALIGNMENT) on
> MEM_ALIGN etc., and gradually more and more optimizations relied on it, even
> when the data was defined in some other compilation unit or was comdat or
> could be interposed. See e.g.
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56564#c9
I still don't see that limit DATA_ALIGNMENT to MAX (ABI alignment,
natural alignment) will cause additional ABI problems which don't
exist today.
More information about the Gcc-bugs
mailing list