Re: [PATCH] Fix PR83215, remove alias-set zero case from component_uses_parent_alias_set_from

2018-11-20 Thread Richard Biener
On Mon, 19 Nov 2018, Eric Botcazou wrote: > > Eric, do you know of any cases in Ada where a alias-set zero base > > has non-alias-set zero children? The testsuite seems to be clean > > but you never know... > > No, at least not off the top of my head; that would be weird in any case. OK, I'll

Re: [PATCH] Fix PR83215, remove alias-set zero case from component_uses_parent_alias_set_from

2018-11-19 Thread Eric Botcazou
> Eric, do you know of any cases in Ada where a alias-set zero base > has non-alias-set zero children? The testsuite seems to be clean > but you never know... No, at least not off the top of my head; that would be weird in any case. -- Eric Botcazou

[PATCH] Fix PR83215, remove alias-set zero case from component_uses_parent_alias_set_from

2018-11-19 Thread Richard Biener
The PR complains that with TYPE_TYPELESS_STORAGE in C++ now too much TBAA aliasing happens (not that this was unexpected). The reason for this with the testcase is the alias-set zero case in component_uses_parent_alias_set_from which history tells me was added for attribute((may_alias))