This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Java frontend question: Purpose of DECL_END_SOURCE_LINE?
- To: gcc at gcc dot gnu dot org
- Subject: Java frontend question: Purpose of DECL_END_SOURCE_LINE?
- From: Bernd Schmidt <bernds at balti dot cygnus dot co dot uk>
- Date: Mon, 17 Jan 2000 09:14:22 +0000 (GMT)
- cc: apbianco at cygnus dot com
I'm making a patch to eliminate DECL_FRAME_SIZE, and I noticed that this
macro is in use by the Java frontend; it's used to define another macro
DECL_END_SOURCE_LINE. However, a quick grep shows that this macro is only
set, never used:
bernds@darkstar:~/work/newco/egcs/gcc > grep -A1 DECL_END_SOURCE java/*
grep: java/CVS: Is a directory
java/ChangeLog: (DECL_END_SOURCE_LINE): Likewise.
java/ChangeLog- (DECL_INHERITED_SOURCE_LINE): Likewise.
--
java/parse.h:#define DECL_END_SOURCE_LINE(DECL) DECL_FRAME_SIZE (DECL)
java/parse.h-#define DECL_INHERITED_SOURCE_LINE(DECL) DECL_FIELD_SIZE (DECL)
--
java/parse.y: DECL_END_SOURCE_LINE (ctxp->current_parsed_class) =
java/parse.y- EXPR_WFL_ADD_COL ($2.location, 1);
--
java/parse.y: DECL_END_SOURCE_LINE (ctxp->current_parsed_class) =
java/parse.y- EXPR_WFL_ADD_COL ($3.location, 1);
--
java/parse.y: DECL_END_SOURCE_LINE (current_function_decl) =
java/parse.y- EXPR_WFL_ADD_COL ($2.location, 1);
--
java/parse.y: DECL_END_SOURCE_LINE (current_function_decl) =
java/parse.y- EXPR_WFL_ADD_COL ($1.location, 1);
[matches in parse.c deleted]
What's the point of this macro (the same problem applies to
DECL_INHERITED_SOURCE_LINE as well)?
Bernd