[Bug java/15576] [4.0 Regression] Class initialization optimization is disabled
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Nov 5 01:08:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-05 01:08 -------
I attached the patch which I am testing right now to fix this.
The changelog is:
* 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.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15576
More information about the Gcc-bugs
mailing list