aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/check-init.c
diff options
context:
space:
mode:
authorAlexandre Petit-Bianco <apbianco@cygnus.com>1999-07-22 19:29:56 +0000
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>1999-07-22 12:29:56 -0700
commitac1d97ceb67feea6e4e37e14a8bc86c5851574c3 (patch)
treecb17ca26090fb72b80304e2bab967c987da323b4 /gcc/java/check-init.c
parent5f5780e6ad305ed6f932d72076a3b9318220c584 (diff)
downloadgcc-ac1d97ceb67feea6e4e37e14a8bc86c5851574c3.zip
gcc-ac1d97ceb67feea6e4e37e14a8bc86c5851574c3.tar.gz
gcc-ac1d97ceb67feea6e4e37e14a8bc86c5851574c3.tar.bz2
re GNATS gcj/14 (Conditional expression in method call doesn't compile)
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
Diffstat (limited to 'gcc/java/check-init.c')
-rw-r--r--gcc/java/check-init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/java/check-init.c b/gcc/java/check-init.c
index 9369536..b92f3e8 100644
--- a/gcc/java/check-init.c
+++ b/gcc/java/check-init.c
@@ -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);