This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR32921, prune virtual operands of memory accesses based on TBAA
> So, the following is the current state of the patch. It still breaks
> the hell out of Ada - I suppose I need to check TYPE_REF_CAN_ALIAS_ALL
> on the pointers the same as DECL_NO_TBAA_P maybe, though I thought this
> might be taken care by get_alias_set ().
If I'm not mistaken, we don't rely on TYPE_REF_CAN_ALIAS_ALL for the core
language, we only use it for corner cases or special features. So, if all
hell breaks loose, this could be something else, e.g. the "non-addressable"
SFTs. I'll take a quick look.
--
Eric Botcazou