2001-08-30 Alexandre Petit-Bianco <apbianco@redhat.com>
authorapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Sep 2001 04:42:50 +0000 (04:42 +0000)
committerapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Sep 2001 04:42:50 +0000 (04:42 +0000)
commit4e0995d20fcd8b2b3f6e52e14798fd643363729a
treece404748d0a009ff1a1dd22dda9c089f55db3980
parentceb217a414961402d0e4d508ee736cfc913c24fc
2001-08-30  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (patch_assignment): Don't verify final re-assignment here.
(java_complete_lhs): Verify assignments to finals calling
patch_assignment. Verify re-assignments to finals before calling
patch_assignment.

2001-08-29  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (java_complete_lhs): Allow final locals in CASE_EXPRs.
Fixes PR java/1413

2001-08-28  Alexandre Petit-Bianco  <apbianco@redhat.com>

* lex.c (java_lex): new local found_hex_digits. Set and then used
in test to reject invalid hexadecimal numbers.
* parse.y (java_complete_tree): Prevent unwanted cast with
initialized floating point finals.
(patch_binop): Emit a warning when detecting a division by zero,
mark result not constant, don't simplify non integer division.

(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00343.html )

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45345 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/ChangeLog
gcc/java/lex.c
gcc/java/parse.y