This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [tree-ssa] Gimplifying Java
- From: Andrew Haley <aph at redhat dot com>
- To: Ranjit Mathew <rmathew at hotmail dot com>
- Cc: java at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Tue, 17 Jun 2003 10:18:11 +0100
- Subject: Re: [tree-ssa] Gimplifying Java
- References: <Pine.LNX.4.44.0306111928540.10620-100000@ops2.one-point.com><bcmap6$h4t$1@main.gmane.org>
Ranjit Mathew writes:
> > Following is my first attempt to merge the gcj source frontend with the
> > tree-ssa infrastructure.
>
> A few dumb questions from a person quite new to tree-ssa:
>
> a. The subject confuses me - should it not be
> "Genericizing Java"? I mean, aren't front-ends supposed
> to generate GENERIC trees that a common "gimplifier"
> will convert to GIMPLE?
Java (or at least the source compiler) uses GENERIC trees already, so
there is not need for an additional conversion pass. Java also uses a
few extra nodes of its own, which need special treatment.
> b. After the tree-ssa branch is merged into mainline
> (in 3.5?), would we have a single tree representation
> produced by all front-ends rather than the current
> dialects produced by C/C++ and Java?
Yup.
> c. Are we doing away with the current tree + RTL dichotomy
> of Intermediate Representations and going with a
> single IR after this effort is complete?
Nope. We still need RTL for code generation -- gimple can't represent
machine instructions.
Andrew.