diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-07-22 12:38:21 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-07-22 12:38:21 +0000 |
commit | 5173647e1ca578891efb910aebdbcaafa4cf2d88 (patch) | |
tree | f5f9c124eb3d1d390ac90c9efa0e64f61c20825f /gcc/tree.h | |
parent | d7c5043b77dd2e92c53f9736bc071f5b277009f5 (diff) | |
download | ppe42-gcc-5173647e1ca578891efb910aebdbcaafa4cf2d88.tar.gz ppe42-gcc-5173647e1ca578891efb910aebdbcaafa4cf2d88.zip |
* tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression
so WFL are expanded correctly when contained in a COMPOUND_EXPR.
* tree.h (EXPR_WFL_EMIT_LINE_NOTE): Change macro not to use
lang_flag_0. Added documentation in the flag table.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21337 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/tree.h b/gcc/tree.h index 039170ef8ba..703c94e7aef 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -227,6 +227,8 @@ struct tree_common VAR_DECL or FUNCTION_DECL TREE_VIA_PUBLIC in TREE_LIST or TREE_VEC + EXPR_WFL_EMIT_LINE_NOTE in + EXPR_WITH_FILE_LOCATION private_flag: @@ -686,7 +688,7 @@ struct tree_vec #define TREE_OPERAND(NODE, I) (EXPR_CHECK (NODE)->exp.operands[I]) #define TREE_COMPLEXITY(NODE) (EXPR_CHECK (NODE)->exp.complexity) -/* In expression with file location information. */ +/* In a EXPR_WITH_FILE_LOCATION node. */ #define EXPR_WFL_NODE(NODE) TREE_OPERAND((NODE), 0) #define EXPR_WFL_FILENAME(NODE) (IDENTIFIER_POINTER ((NODE)->common.chain)) #define EXPR_WFL_FILENAME_NODE(NODE) ((NODE)->common.chain) @@ -695,7 +697,7 @@ struct tree_vec #define EXPR_WFL_LINECOL(NODE) (EXPR_CHECK (NODE)->exp.complexity) #define EXPR_WFL_SET_LINECOL(NODE, LINE, COL) \ (EXPR_WFL_LINECOL(NODE) = ((LINE) << 12) | ((COL) & 0xfff)) -#define EXPR_WFL_EMIT_LINE_NOTE(NODE) ((NODE)->common.lang_flag_0) +#define EXPR_WFL_EMIT_LINE_NOTE(NODE) ((NODE)->common.public_flag) struct tree_exp { |