This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: PATCH for java/15543 that works with --enable-mapped-location
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: java-patches at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 14 Feb 2005 11:40:11 +0530
- Subject: Re: PATCH for java/15543 that works with --enable-mapped-location
- References: <420D9FAD.7060004@bothner.com>
Per Bothner wrote:
> The attached patch lets us bootstrap gcc/java with
> --enable-mapped-location. It replaces Ranjits's earlier fix
> for PR java/15543, which had the problem that it explicitly
> sets input_filename and input_line - which are no longer lvalues.
> Since we don't really track line-numbers in jv-scan - and it
> will likely get removed anyway - I decided to use a different
> variable: main_input_filename, and remove all use of input_location
> from jv-scan.
>
> Tested with no regressions, and checked into mainline.
Thanks Per and apologies for contributing to the
breakage for --enable-mapped-location. :-(
Thanks,
Ranjit.
--
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.hostingzero.com/