Re: non canonical tree in java

2005-08-03 Thread Andrew Pinski
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 CO

Re: non canonical tree in java

2005-08-03 Thread Nathan Sidwell
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? nathan -- Nathan Sidwell:: http://www.codesourcery.com :: CodeSourcery LLC [EMAIL PROTECTED]

Re: non canonical tree in java

2005-08-03 Thread Andrew Pinski
> > java is creating a COMPONENT_REF node where the first operand is a > RECORD_TYPE, > rather than an expresion or DECL node. This is created at java/class.c:1014 > > prim_class = lookup_class (get_identifier (prim_class_name)); > return build3 (COMPONENT_REF, NULL_TRE