diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 60624972d0f..7e3e4d335c1 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2000-02-14 Andrew Haley + + * check-init.c (check_init): Add new cases for unary and binary + tree nodes. + 2000-03-13 Alexandre Petit-Bianco * parse.y (resolve_package): Set `next' once a type name has been diff --git a/gcc/java/check-init.c b/gcc/java/check-init.c index aa0e47bc772..fed19a798a9 100644 --- a/gcc/java/check-init.c +++ b/gcc/java/check-init.c @@ -622,6 +622,12 @@ check_init (exp, before) case POSTINCREMENT_EXPR: case NON_LVALUE_EXPR: case INSTANCEOF_EXPR: + case FIX_CEIL_EXPR: + case FIX_FLOOR_EXPR: + case FIX_ROUND_EXPR: + case EXPON_EXPR: + case ABS_EXPR: + case FFS_EXPR: /* Avoid needless recursion. */ exp = TREE_OPERAND (exp, 0); goto again; @@ -655,6 +661,15 @@ check_init (exp, before) case MAX_EXPR: case MIN_EXPR: case ARRAY_REF: + case LROTATE_EXPR: + case RROTATE_EXPR: + case CEIL_DIV_EXPR: + case FLOOR_DIV_EXPR: + case ROUND_DIV_EXPR: + case CEIL_MOD_EXPR: + case FLOOR_MOD_EXPR: + case ROUND_MOD_EXPR: + case EXACT_DIV_EXPR: binop: check_init (TREE_OPERAND (exp, 0), before); /* Avoid needless recursion, especially for COMPOUND_EXPR. */