check-init.c (check_init): Handle binops UNLT_EXPR, UNLE_EXPR, UNGT_EXPR, UNGE_EXPR, UNEQ_EXPR, and LTGT_EXPR.

* check-init.c (check_init): Handle binops UNLT_EXPR, UNLE_EXPR,
    	UNGT_EXPR, UNGE_EXPR, UNEQ_EXPR, and LTGT_EXPR.

From-SVN: r82379
This commit is contained in:
Bryce McKinlay 2004-05-28 20:52:49 +00:00 committed by Bryce McKinlay
parent 2fec96c1b9
commit 711e31876f
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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. */