Re: [PATCH] Fix PR61456

2014-06-11 Thread Eric Botcazou
> The following fixes an issue with nonoverlapping_component_refs_of_decl_p > (and the latent same issue in nonoverlapping_component_refs_p). We > can't rely on all variant types having the same TYPE_FIELDS, so the > following simply uses DECL_FIELD_CONTEXT directly (which is either > the same for

[PATCH] Fix PR61456

2014-06-10 Thread Richard Biener
The following fixes an issue with nonoverlapping_component_refs_of_decl_p (and the latent same issue in nonoverlapping_component_refs_p). We can't rely on all variant types having the same TYPE_FIELDS, so the following simply uses DECL_FIELD_CONTEXT directly (which is either the same for shared T