Go to file
Martin Jambor 310bc63348 ipa-prop.h: Include alloc-pool.h, all sorts of updates to general comments.
2011-07-18  Martin Jambor  <mjambor@suse.cz>

	* ipa-prop.h: Include alloc-pool.h, all sorts of updates to general
	comments.
	(ipcp_values_pool): Declare.
	(ipcp_sources_pool): Likewise.
	(ipcp_lattice): Changed to forward declaration.
	(ipa_param_descriptor): Removed fields ipcp_lattice, types and
	cannot_devirtualize.
	(ipa_node_params): New fields descriptors, lattices, known_vals,
	clone_for_all_contexts and node dead, removed fields params and
	count_scale.
	(ipa_set_param_count): Removed.
	(ipa_get_param_count): Made to work with descriptors vector.
	(ipa_get_param): Updated.
	(ipa_param_cannot_devirtualize_p): Removed.
	(ipa_param_types_vec_empty): Likewise.
	(ipa_set_param_used): New function.
	(ipa_get_param_used): Updated to use descriptors vector.
	(ipa_func_list): Removed.
	(ipa_init_func_list): Removed declaration.
	(ipa_push_func_to_list_1): Likewise.
	(ipa_pop_func_from_list): Likewise.
	(ipa_push_func_to_list): Removed.
	(ipa_lattice_from_jfunc): Remove declaration.
	(ipa_get_jf_pass_through_result): Declare.
	(ipa_get_jf_ancestor_result): Likewise.
	(ipa_value_from_jfunc): Likewise.
	(ipa_get_lattice): Update.
	(ipa_lat_is_single_const): New function.
	* ipa-prop.c (ipa_push_func_to_list_1): Removed.
	(ipa_init_func_list): Likewise.
	(ipa_pop_func_from_list): Likewise.
	(ipa_get_param_decl_index): Fix coding style.
	(count_formal_params): Removed.
	(count_formal_params_1): Renamed to count_formal_params.
	(ipa_populate_param_decls): Update to use descriptors vector.
	(ipa_initialize_node_params): Likewise.
	(visit_ref_for_mod_analysis): Use ipa_set_param_used.
	(ipa_analyze_params_uses): Likewise.
	(ipa_free_node_params_substructures): Likewise and free also lattices
	and known values.
	(duplicate_array): Removed.
	(ipa_edge_duplication_hook): Add the new edge to the list of edge
	clones.
	(ipa_node_duplication_hook): Update to use new lattices.
	(ipa_free_all_structures_after_ipa_cp): Free alloc pools.
	(ipa_free_all_structures_after_iinln): Likewise.
	(ipa_write_node_info): Update to use new lattices.
	(ipa_read_node_info): Likewise.
	(ipa_get_jf_pass_through_result): New function.
	(ipa_get_jf_ancestor_result): Likewise.
	(ipa_value_from_jfunc): Likewise.
	(ipa_cst_from_jfunc): Reimplemented using ipa_value_from_jfunc.
	* ipa-cp.c: Reimplemented.
	* params.def (PARAM_DEVIRT_TYPE_LIST_SIZE): Removed.
	(PARAM_IPA_CP_VALUE_LIST_SIZE): New parameter.
	(PARAM_IPA_CP_EVAL_THRESHOLD): Likewise.
	* Makefile.in (IPA_PROP_H): Added alloc-pool.h to dependencies.

	* doc/invoke.texi (devirt-type-list-size): Removed description.
	(ipa-cp-value-list-size): Added description.

	* testsuite/gcc.dg/ipa/ipa-1.c: Updated testcase dump scan.
	* testsuite/gcc.dg/ipa/ipa-2.c: Likewise.
	* testsuite/gcc.dg/ipa/ipa-3.c: Likewise and made functions static.
	* testsuite/gcc.dg/ipa/ipa-4.c: Updated testcase dump scan.
	* testsuite/gcc.dg/ipa/ipa-5.c: Likewise.
	* testsuite/gcc.dg/ipa/ipa-7.c: Likewise.
	* testsuite/gcc.dg/ipa/ipa-8.c: Updated testcase dump scan.
	* testsuite/gcc.dg/ipa/ipacost-1.c: Likewise.
	* testsuite/gcc.dg/ipa/ipacost-2.c: Likewise and increased sizes
	of some functions.
	* testsuite/gcc.dg/ipa/ipcp-1.c: New test.
	* testsuite/gcc.dg/ipa/ipcp-2.c: Likewise.
	* testsuite/gcc.dg/tree-ssa/ipa-cp-1.c: Updated testcase.

From-SVN: r176424
2011-07-19 00:03:39 +02:00
boehm-gc re PR bootstrap/39150 (Configure scripts have no 64-Bit Solaris defined (only i386-solaris*).) 2011-07-07 09:24:16 +00:00
config re PR debug/23205 ([C++/unit-at-a-time] stabs debug info omitted for global const variables) 2011-07-18 11:04:18 +00:00
contrib re PR debug/23205 ([C++/unit-at-a-time] stabs debug info omitted for global const variables) 2011-07-18 11:04:18 +00:00
fixincludes configure.ac (AC_USE_SYSTEM_EXTENSIONS): Add. 2011-06-08 21:27:06 +00:00
gcc ipa-prop.h: Include alloc-pool.h, all sorts of updates to general comments. 2011-07-19 00:03:39 +02:00
gnattools re PR bootstrap/39150 (Configure scripts have no 64-Bit Solaris defined (only i386-solaris*).) 2011-07-07 09:24:16 +00:00
include 2012011-07-13 Sriraman Tallam <tmsriram@google.com> 2011-07-14 01:44:11 +00:00
INSTALL
intl
libada
libcpp Use source_location where it is due 2011-07-15 23:34:02 +02:00
libdecnumber remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
libffi ffi.c (FFI_INIT_TRAMPOLINE): Clear icache. 2011-07-11 17:50:04 +00:00
libgcc re PR debug/23205 ([C++/unit-at-a-time] stabs debug info omitted for global const variables) 2011-07-18 11:04:18 +00:00
libgfortran mpi.c (caf_runtime_error): Change fprintf to vfprintf. 2011-07-15 22:39:03 +00:00
libgo libgo/testsuite/gotest: Run tests in source file order. 2011-07-13 01:04:50 +00:00
libgomp re PR target/49541 (TLS support partially broken in 64-bit mode) 2011-07-18 12:09:18 +00:00
libiberty cp-demangle.c (d_expression): Handle 'this'. 2011-07-04 17:44:11 -04:00
libjava interpret.cc (check_handler): Fix bit rot. 2011-07-12 12:56:50 +00:00
libmudflap re PR testsuite/49753 (FAIL: g++.dg/torture/pr49309.C) 2011-07-15 21:48:46 +02:00
libobjc In libobjc/: 2011-06-08 Nicola Pero <nicola.pero@meta-innovation.com> 2011-06-08 08:26:15 +00:00
libquadmath re PR fortran/48311 ([Quadmath] Documentation - typo, order) 2011-04-03 20:45:16 +02:00
libssp re PR bootstrap/48135 (build fails on Solaris2.8 due to Glob.pm not found within /usr/perl5) 2011-03-21 12:24:17 +00:00
libstdc++-v3 re PR libstdc++/48430 (std::hash partial specialization for std::unique_ptr and std::shared_ptr are using unary_function) 2011-07-18 16:07:24 +00:00
lto-plugin remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
maintainer-scripts update_version_svn (IGNORE_BRANCHES): Add gcc-4_3-branch. 2011-06-27 11:05:50 +00:00
zlib Remove freebsd1 from libtool.m4 macros and config.rpath. 2011-02-13 11:45:53 +00:00
ABOUT-NLS
ChangeLog * MAINTAINERS (Global Reviewers): Add myself. 2011-07-18 13:21:57 +02:00
ChangeLog.tree-ssa
compile
config-ml.in MAINTAINERS (crx port, [...]): Remove. 2011-03-22 19:58:18 +00:00
config.guess oops - omitted from previous delta. 2011-06-06 10:34:35 +00:00
config.rpath Remove freebsd1 from libtool.m4 macros and config.rpath. 2011-02-13 11:45:53 +00:00
config.sub Sync from upstream: 2011-06-06 10:33:11 +00:00
configure re PR debug/23205 ([C++/unit-at-a-time] stabs debug info omitted for global const variables) 2011-07-18 11:04:18 +00:00
configure.ac install.texi: Document --enable-static-libjava. 2011-07-16 08:33:10 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4 Remove freebsd1 from libtool.m4 macros and config.rpath. 2011-02-13 11:45:53 +00:00
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS * MAINTAINERS (Global Reviewers): Add myself. 2011-07-18 13:21:57 +02:00
Makefile.def Makefile.def (language=c++): Add check-c++0x and check-target-libmudflap-c++. 2011-07-16 23:34:13 -04:00
Makefile.in Makefile.def (language=c++): Add check-c++0x and check-target-libmudflap-c++. 2011-07-16 23:34:13 -04:00
Makefile.tpl Makefile.def (language=c++): Add check-c++0x and check-target-libmudflap-c++. 2011-07-16 23:34:13 -04:00
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with 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/ for how to report bugs usefully.