This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR java/15576, class initialization optimization disable


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]