[PATCH] Fix PR java/15576, class initialization optimization disable
Tom Tromey
tromey@redhat.com
Mon Nov 8 22:23:00 GMT 2004
>>>>> "Andrew" == Andrew Pinski <pinskia@physics.uc.edu> writes:
Andrew> ChangeLog:
Andrew> * check-init.c (check_init): Ignore DECL_EXPR.
Andrew> * expr.c (always_initialize_class_p): Reenable.
Andrew> (build_class_init): Use a variable to store the decl. Also use
Andrew> boolean_false_node instead of integer_zero_node.
Andrew> * parse.y (attach_init_test_initialization_flags): Add a decl_expr
Andrew> to the block.
This looks reasonable to me, but Andrew H. or Per will have to
approve.
Tom
More information about the Java-patches
mailing list