This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Enable class initialization optimization for .class compiling
- From: Andrew Haley <aph at redhat dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: GCJ Patches <java-patches at gcc dot gnu dot org>, "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 26 Nov 2004 17:03:59 +0000
- Subject: Enable class initialization optimization for .class compiling
- References: <B240017A-3277-11D9-9E21-000A95D692F4@physics.uc.edu>
Andrew Pinski writes:
> ChangeLog:
>
> * decl.c (end_java_method): Call
> attach_init_test_initialization_flags on all the init_decls.
> * parse.y (attach_init_test_initialization_flags): Move to ...
> * expr.c (attach_init_test_initialization_flags): here and
> support BIND_EXPR also.
> * java-tree.h (attach_init_test_initialization_flags): Prototype.
> * jcf-parse.c (parse_class_file): Don't disable class init
> optimization.
>
OK. Sorry for the delay.
Andrew.