[Bug java/15576] [4.0 Regression] Class initialization optimization is disabled
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 9 14:34:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-09 14:34 -------
Subject: Bug 15576
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pinskia@gcc.gnu.org 2004-11-09 14:33:36
Modified files:
gcc/java : ChangeLog check-init.c expr.c parse.y
Log message:
2004-11-09 Andrew Pinski <pinskia@physics.uc.edu>
PR java/15576
* check-init.c (check_init): Ignore DECL_EXPR.
* expr.c (always_initialize_class_p): Reenable.
(build_class_init): Use a variable to store the decl. Also use
boolean_false_node instead of integer_zero_node.
* parse.y (attach_init_test_initialization_flags): Add a decl_expr
to the block.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1495&r2=1.1496
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/check-init.c.diff?cvsroot=gcc&r1=1.59&r2=1.60
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/expr.c.diff?cvsroot=gcc&r1=1.209&r2=1.210
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/parse.y.diff?cvsroot=gcc&r1=1.519&r2=1.520
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15576
More information about the Java-prs
mailing list