]> git.ipfire.org Git - thirdparty/gcc.git/commit
parse.y (fold_constant_for_init): If a VAR_DECL, convert numerical constant to the...
authorPer Bothner <per@bothner.com>
Wed, 11 Sep 2002 19:53:14 +0000 (12:53 -0700)
committerTom Tromey <tromey@gcc.gnu.org>
Wed, 11 Sep 2002 19:53:14 +0000 (19:53 +0000)
commit6e471ea7b847f2a8bf4ee0673dc64a4156ec694e
treee28d832f590eaf7db9f11637f405d577093281fc
parent23114b697a3357b7c4166f9841123d2318bdd264
parse.y (fold_constant_for_init): If a VAR_DECL, convert numerical constant to the type of the field.

2002-09-11  Per Bothner  <per@bothner.com>

* parse.y (fold_constant_for_init):  If a VAR_DECL, convert numerical
constant to the type of the field.
(java_complete_tree):  Remove now-redundant code.

* parse.y (fold_constant_for_init):  'null' is not a constant expr.

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