This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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: gcj: remove aliases for local variables


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/


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