diff options
author | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-28 20:52:49 +0000 |
---|---|---|
committer | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-28 20:52:49 +0000 |
commit | b6a916043c23ec0ee70e090a75e379fe55f5adf7 (patch) | |
tree | e5e01645dc1325ce6a9f219331695e156fba561d /gcc/java | |
parent | 810160c938acdd8842ded30b55c5eab263e65ea6 (diff) | |
download | ppe42-gcc-b6a916043c23ec0ee70e090a75e379fe55f5adf7.tar.gz ppe42-gcc-b6a916043c23ec0ee70e090a75e379fe55f5adf7.zip |
* check-init.c (check_init): Handle binops UNLT_EXPR, UNLE_EXPR,
UNGT_EXPR, UNGE_EXPR, UNEQ_EXPR, and LTGT_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82379 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-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. */ |