This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: non canonical tree in java



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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]