diff options
-rw-r--r-- | gcc/java/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/check-init.c | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index e869a077859..1210613b7d9 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,5 +1,10 @@ 2004-05-28 Bryce McKinlay <mckinlay@redhat.com> + * check-init.c (check_init): Handle binops UNLT_EXPR, UNLE_EXPR, + UNGT_EXPR, UNGE_EXPR, UNEQ_EXPR, and LTGT_EXPR. + +2004-05-28 Bryce McKinlay <mckinlay@redhat.com> + * gcj.texi (Object allocation): Remove _Jv_AllocBytes. (Mixing with C++): Document JvAllocBytes and RawDataManaged. diff --git a/gcc/java/check-init.c b/gcc/java/check-init.c index 0ef0343610b..a708dccc3e1 100644 --- a/gcc/java/check-init.c +++ b/gcc/java/check-init.c @@ -846,6 +846,12 @@ check_init (tree exp, words before) case FLOOR_MOD_EXPR: case ROUND_MOD_EXPR: case EXACT_DIV_EXPR: + case UNLT_EXPR: + case UNLE_EXPR: + case UNGT_EXPR: + case UNGE_EXPR: + case UNEQ_EXPR: + case LTGT_EXPR: binop: check_init (TREE_OPERAND (exp, 0), before); /* Avoid needless recursion, especially for COMPOUND_EXPR. */ |