diff options
author | Alexandre Petit-Bianco <apbianco@cygnus.com> | 1999-07-22 19:29:56 +0000 |
---|---|---|
committer | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 1999-07-22 12:29:56 -0700 |
commit | ac1d97ceb67feea6e4e37e14a8bc86c5851574c3 (patch) | |
tree | cb17ca26090fb72b80304e2bab967c987da323b4 /gcc | |
parent | 5f5780e6ad305ed6f932d72076a3b9318220c584 (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/java/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/check-init.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 4911d90..6d3d690 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -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. 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); |