[PATCH] Fix PR32921, prune virtual operands of memory accesses based on TBAA

Eric Botcazou ebotcazou@adacore.com
Fri Oct 19 17:06:00 GMT 2007


> 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



More information about the Gcc-patches mailing list