Hi,
Why are we creating a COMPONENT_REF with a null op1 in the first place?
For now, what I figured out is the following: build_anon_union_vars calls build_min_nt (COMPONENT_REF, object, DECL_NAME (field), NULL_TREE) with a null third argument, which becomes the null op1.

As a matter of fact, the possibility that DECL_NAME (field) could be null is considered in build_anon_union_vars itself, because right after the above mentioned build_min_nt call, there is a conditional 'if (DECL_NAME (field)) ...'

I don't know if the above is enough for you to suggest the way we should go...

Paolo.

Reply via email to