Go to file
Alexandre Petit-Bianco 4009bb7d50 check-init.c (flags.h): Include
2001-08-08  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* check-init.c (flags.h): Include
	(check_init): Don't report uninitialized static class
	initialization flags, don't free bit index when doing static class
	initialization optimization.
	(check_for_initialization): Return type changed to `unsigned int.'
	(attach_initialized_static_class): New function.
	* class.c (add_method_1): Create the initialized static class
	table if necessary.
	(finish_class): Always emit deferred inline methods.
	* decl.c (emit_init_test_initialization): Moved to expr.c
	(complete_start_java_method): Don't traverse
	DECL_FUNCTION_INIT_TEST_TABLE.
	(lang_mark_tree): Mark hash tables in function decls.
	* expr.c (emit_init_test_initialization): Moved from decl.c.
	(build_class_init): Create LAG_DECL_SPECIFIC for the static class
	initialization flag, set DECL_CONTEXT and
	LOCAL_CLASS_INITIALIZATION_FLAG.
	(java_lang_expand_expr): Emit initialization code for static class
	initialized flags when entering block, if necessary.
	* gcj.texi (-fno-optimize-static-class-initialization): Documented.
	* java-tree.h (flag_optimize_sci): New global variable declaration.
	(DECL_FUNCTION_INITIALIZED_CLASS_TABLE): New macro.
	(DECL_FUNCTION_STATIC_METHOD_INVOCATION_COMPOUND): Likewise.
	(LOCAL_FINAL_P): Fixed typo in comment.
	(FINAL_VARIABLE_P): Likewise.
	(LOCAL_CLASS_INITIALIZATIO_FLAG): New macro.
	(LOCAL_CLASS_INITIALIZATIO_FLAG_P): Likewise.
	(struct lang_decl): New fields `ict', `smic' and `cif.'
	(check_for_initialization): New returned value for global.
	(attach_initialized_static_class): New global function.
	(STATIC_CLASS_INIT_OPT_P): New macro.
	* lang-options.h (-fno-optimize-static-class-initialization): New flag.
	* lang.c (java_decode_option): Handle
	`-fno-optimize-static-class-initialization'
	* parse.y (start_complete_expand_method): New function.
	(java_expand_method_bodies): Likewise.
	(attach_init_test_initialization_flags): Likewise.
	(adjust_init_test_initialization): Likewise.
	(emit_test_initialization): Likewise.
	(java_complete_expand_methods): Nullify abstract and native method
	bodies.
	(java_complete_expand_method): New locals `fbody', `block_body'
	and `exception_copy.' Reorganized: directly return on empty method
	bodies, call `start_complete_expand_method', remember definitely
	initialized static class in function, don't expand method bodies.
	(java_expand_classes): Call `java_expand_method_bodies' before
	`finish_class' when compiling to native.
	(resolve_expression_name): Use `orig' after building outer class
	field access.
	(patch_invoke): Remember static method invokations.

(http://gcc.gnu.org/ml/gcc-patches/2001-08/msg00454.html)

From-SVN: r44733
2001-08-08 21:19:12 -07:00
boehm-gc configure.in: POSIX threads on cygwin does not link with -lpthreads. 2001-08-02 16:53:38 +00:00
config * mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks. 2001-05-21 21:17:23 -04:00
contrib * analyze_brprob: Avoid more overflows. 2001-07-28 20:39:02 +00:00
fastjar Modified from patch by Julian Hall <jules@acris.co.uk>: 2001-07-04 18:33:53 +00:00
gcc check-init.c (flags.h): Include 2001-08-08 21:19:12 -07:00
include xregex.h (_REGEX_RE_COMP): Define. 2001-08-02 19:23:47 -04:00
INSTALL README: Update wrt. 2001-06-13 14:51:33 +00:00
libchill
libf2c Daily bump. 2001-08-08 07:16:08 +00:00
libffi sysv.S: Avoid gas-only .balign directive. 2001-07-16 17:12:14 +00:00
libiberty cp-demangle.c (demangle_special_name): "GR" -> "reference temporary for". 2001-08-07 12:15:04 -04:00
libjava InputStreamReader.java (refill): Only call refill on BufferedInputStream when appropriate constraints are met. 2001-08-06 22:01:32 +00:00
libobjc Save a function call in common mutex locking/unlocking operations 2001-07-18 11:55:24 +00:00
libstdc++-v3 Makefile.am (libstdc___la_LDFLAGS): Use -release instead of -version-info, use substituted VERSION info. 2001-08-08 22:39:28 +00:00
maintainer-scripts update_web_docs (PREPROCESS): Rename to WWWPREPROCESS. 2001-08-06 13:03:21 +00:00
zlib re PR bootstrap/3281 (Installation failure (mkinstalldirs)) 2001-07-03 22:29:32 +00:00
.cvsignore gcc_update: Dump timestamp in LAST_UPDATED. 2001-07-26 23:00:45 -07:00
ChangeLog * MAITAINERS (Various maitainers: predict.def): Added myself. 2001-07-30 19:30:26 +00:00
config-ml.in config-ml.in (powerpc-*-* | rs6000-*-*): Allow aix64 and pthread multilibs to be disabled. 2001-06-12 22:12:07 -04:00
config.guess config.guess: Import CVS version 1.195. 2001-06-09 18:50:20 +00:00
config.if
config.sub config.sub: Fix mips64vr5000el typo in CPU-COMPANY. 2001-07-16 10:02:53 +00:00
configure Fix typo applying previous patch. 2001-05-23 17:24:49 +00:00
configure.in configure.in (sh-*-linux*): New. 2001-07-30 15:48:29 +00:00
COPYING
COPYING.LIB
install-sh
libtool.m4 ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.254. 2001-05-20 18:55:59 +00:00
ltcf-c.sh ltcf-c.sh (archive_cmds, [...]): Use `gcc -shared' to build a shared library. 2001-06-04 19:33:03 +00:00
ltcf-cxx.sh ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++ shared libraries when using g++ with native linker. 2001-05-28 21:03:21 +00:00
ltcf-gcj.sh ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.254. 2001-05-20 18:55:59 +00:00
ltconfig * ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256. 2001-05-28 20:49:42 +00:00
ltmain.sh * ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256. 2001-05-28 20:49:42 +00:00
MAINTAINERS * MAITAINERS (Various maitainers: predict.def): Added myself. 2001-07-30 19:30:26 +00:00
Makefile.in Add CFLAGS_FOR_BUILD for canadian cross build. 2001-06-27 21:38:51 -07:00
missing
mkdep
mkinstalldirs
move-if-change
README * README: Remove version number. 2001-06-13 19:48:09 +01:00
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.