diff options
author | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-07 22:09:56 +0000 |
---|---|---|
committer | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-07 22:09:56 +0000 |
commit | b44474975d204140549569b5c830c3f0e6ccb473 (patch) | |
tree | 33e903d1ca8568421d6e5d2dd63b96b066a8e70f /gcc/java/java-tree.h | |
parent | 94221a92fa7dde1649e3b5862c438aae3a35314c (diff) | |
download | ppe42-gcc-b44474975d204140549569b5c830c3f0e6ccb473.tar.gz ppe42-gcc-b44474975d204140549569b5c830c3f0e6ccb473.zip |
2000-03-07 Alexandre Petit-Bianco <apbianco@cygnus.com>
* java-tree.h (IS_INIT_CHECKED): New flag.
* check-init.c (check_init): Test and set IS_INIT_CHECKED.
* parse.y (patch_string): Call force_evaluation_order on the
completed string concatenation tree.
* expr.c (force_evaluation_order): Call force_evaluation_order on
function's arguments too.
(This fixes the Java PR #108:
http://sourceware.cygnus.com/ml/java-prs/1999-q4/msg00174.html)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32391 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/java-tree.h')
-rw-r--r-- | gcc/java/java-tree.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h index e50bab0b319..950efd464d9 100644 --- a/gcc/java/java-tree.h +++ b/gcc/java/java-tree.h @@ -58,6 +58,7 @@ struct JCF; 5: HAS_BEEN_ALREADY_PARSED_P (in IDENTIFIER_NODE) IS_BREAK_STMT_P (in EXPR_WITH_FILE_LOCATION) IS_CRAFTED_STRING_BUFFER_P (in CALL_EXPR) + IS_INIT_CHECKED (in SAVE_EXPR) 6: CAN_COMPLETE_NORMALLY (in statement nodes). Usage of TYPE_LANG_FLAG_?: @@ -869,6 +870,10 @@ extern tree *type_map; /* True if EXPR (a CALL_EXPR in that case) is a crafted StringBuffer */ #define IS_CRAFTED_STRING_BUFFER_P(EXPR) TREE_LANG_FLAG_5 (EXPR) +/* True if EXPR (a SAVE_EXPR in that case) had its content already + checked for (un)initialized local variables. */ +#define IS_INIT_CHECKED(EXPR) TREE_LANG_FLAG_5 (EXPR) + /* If set in CALL_EXPR, the receiver is 'super'. */ #define CALL_USING_SUPER(EXPR) TREE_LANG_FLAG_4 (EXPR) |