This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH for partial --enable-mapped-location in gcc/java
- From: "Joseph S. Myers" <jsm at polyomino dot org dot uk>
- To: Per Bothner <per at bothner dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 30 Sep 2004 08:05:59 +0000 (UTC)
- Subject: Re: PATCH for partial --enable-mapped-location in gcc/java
- References: <415B6D7D.8000201@bothner.com>
On Wed, 29 Sep 2004, Per Bothner wrote:
> +#ifdef USE_MAPPED_LOCATION
> +#define EXPR_WFL_LINECOL(NODE) ((NODE)->exp.locus)
> +#else
> +#define EXPR_WFL_LINECOL(NODE) (EXPR_CHECK (NODE)->exp.complexity)
Does this mean the existence of the "complexity" field of struct tree_exp
can now be conditioned on !defined(USE_MAPPED_LOCATION)? (Ada being the
only other user, and Ada will need to change anyway for
--enable-mapped-location.)
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
http://www.srcf.ucam.org/~jsm28/gcc/#c90status - status of C90 for GCC 4.0
jsm@polyomino.org.uk (personal mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)