This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Convert TYPE_ALIGN_OK into an TYPE_LANG_FLAG
On Fri, 8 Jul 2016, Eric Botcazou wrote:
> > The discussion last time ended with a mail from you that TYPE_ALIGN_OK
> > is "somehow" relevant in the Ada FE, but I didn't see any feedback
> > from Eric nor results from the "extended" testing we wanted to perform.
>
> TYPE_ALIGN_OK is definitely relevant in the Ada FE, the question being whether
> it is still relevant in the middle-end, in which case this would most likely
> be for strict-alignment platforms. So we need a serious evaluation of the
> patch on a strict-alignment platform (no, the compiler bootstrap + testsuite
> alone doesn't qualify here).
I expect it still has an effect due to the same reason as the
DECL_OFFSET_ALIGN thing - memory reference expansion doesn't gather
information from the full reference but tries to re-cover it from
the pieces returned from get_inner_reference. So I guess we need
to fix that first.
> > So is there any news on that front?
>
> I should have meaningful results tomorrow morning baring unexpected issues.
Thanks,
Richard.