check-init.c (check_init): Handle binops UNLT_EXPR, UNLE_EXPR, UNGT_EXPR, UNGE_EXPR...
authorBryce McKinlay <mckinlay@redhat.com>
Fri, 28 May 2004 20:52:49 +0000 (20:52 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Fri, 28 May 2004 20:52:49 +0000 (21:52 +0100)
* check-init.c (check_init): Handle binops UNLT_EXPR, UNLE_EXPR,
     UNGT_EXPR, UNGE_EXPR, UNEQ_EXPR, and LTGT_EXPR.

From-SVN: r82379

gcc/java/ChangeLog
gcc/java/check-init.c

index e869a07785919e9b0ab537220f84b0ea0b6e7998..1210613b7d93d3082ffe74f1f0c4a8d04d0ef7b2 100644 (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.
index 0ef0343610bea324f2608157814438f7927909b5..a708dccc3e1357a79d1101347f75b52fb63937c4 100644 (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. */