This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: non canonical tree in java
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: Andrew Haley <aph at redhat dot com>, Tom Tromey <tromey at redhat dot com>, gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Wed, 3 Aug 2005 14:15:08 -0400
- Subject: Re: non canonical tree in java
- References: <200508031753.j73HrakZ026631@earth.phy.uc.edu> <42F10763.5020706@codesourcery.com>
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