This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: PATCH for partial --enable-mapped-location in gcc/java


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)


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