On Aug 3, 2005, at 2:05 PM, Nathan Sidwell wrote:

Andrew Pinski wrote:

The java front-end later on replaces prim_class with the correct tree, witness how
the type of COMPONENT_REF is NULL.

where does this happen? do you happen to know?

Happens in java_complete_lhs in parse.y:
    case COMPONENT_REF:
/* The first step in the re-write of qualified name handling. FIXME. So far, this is only to support PRIMTYPE.class -> PRIMCLASS.TYPE. */ TREE_OPERAND (node, 0) = java_complete_tree (TREE_OPERAND (node, 0));


-- Pinski

Reply via email to