This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: gcj: remove aliases for local variables
- From: Michael Koch <konqueror at gmx dot de>
- To: Andrew Haley <aph at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Wed, 21 Jun 2006 17:18:01 +0200
- Subject: Re: gcj: remove aliases for local variables
- References: <17561.21945.210425.793382@dell.pink>
On Wed, Jun 21, 2006 at 03:20:41PM +0100, Andrew Haley wrote:
> The bytecode front-end of gcj has long produced worse debug
> information than the source front-end, partly due to the problem of
> representing debug information for local variables.
>
> At the present time we use a single canonical variable for each slot
> in the VM and copying updates into named debug variables. Andrew
> Pinksi pointed out that we don't need to keep local copies of
> variables for the purpose of debugging information: a DECL_VALUE_EXPR
> serves the purpose just as well.
>
> This reduces the volume of trees produced by the gcj front-end,
> increases compilation speed, and improves the accuracy of the
> debugging information.
Is it possible or worth to backport this to the 4.1 branch?
Cheers,
Michael
--
http://www.worldforge.org/