re GNATS gcj/14 (Conditional expression in method call doesn't compile)
authorAlexandre Petit-Bianco <apbianco@cygnus.com>
Thu, 22 Jul 1999 19:29:56 +0000 (19:29 +0000)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Thu, 22 Jul 1999 19:29:56 +0000 (12:29 -0700)
Thu Jul 22 12:41:12 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* check-init.c (check_init): Handle MAX_EXPR.

(Fix to net PR #14.)

From-SVN: r28220

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

index 4911d90e9d77461aef63769a4188039d803b9ec1..6d3d69094f8a713807e72fc50b96d2d7e0088c36 100644 (file)
@@ -1,3 +1,7 @@
+Thu Jul 22 12:41:12 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * check-init.c (check_init): Handle MAX_EXPR.
+
 1999-07-15  Andrew Haley  <aph@cygnus.com>
 
         * lang.c (flag_use_divide_subroutine): New variable.
index 93695368d00c24b61bc32a2251b53d6c92dfadb0..b92f3e82bdcb373ae4a1b259104e12d318a35e6e 100644 (file)
@@ -644,6 +644,7 @@ check_init (exp, before)
     case LT_EXPR:
     case LE_EXPR:
     case MAX_EXPR:
+    case MIN_EXPR:
     case ARRAY_REF:
     binop:
       check_init (TREE_OPERAND (exp, 0), before);