]> git.ipfire.org Git - thirdparty/gcc.git/commit
parse.y (check_deprecation): Handle TYPE_DECL in a special case...
authorAlexandre Petit-Bianco <apbianco@redhat.com>
Mon, 27 Aug 2001 14:46:57 +0000 (07:46 -0700)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Mon, 27 Aug 2001 14:46:57 +0000 (07:46 -0700)
commit7b02957ec0bb9659ac70b26d8af7e3fbdc4120b0
tree152fb4a4d6d6ad312e62373637163f94729dcb6c
parent763bb30cbef3217ab6b36688ff8c15ae765c9666
parse.y (check_deprecation): Handle TYPE_DECL in a special case...

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

* parse.y (check_deprecation): Handle TYPE_DECL in a special case,
don't report anything but deprecated class when marked so. Handle
VAR_DECL.
(patch_method_invocation): Check deprecation on methods and types.
(patch_binop): code becomes an enum tree_code, added default: to
switch to handle that. Detect division by zero, try to fold and
return before using a subroutine.

(http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01495.html)

From-SVN: r45187
gcc/java/ChangeLog
gcc/java/parse.y