This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r152381 - in /branches/lto: gcc/ChangeLog.lto g...
- From: dnovillo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 01 Oct 2009 19:24:51 -0000
- Subject: r152381 - in /branches/lto: gcc/ChangeLog.lto g...
Author: dnovillo
Date: Thu Oct 1 19:24:49 2009
New Revision: 152381
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152381
Log:
2009-10-01 Diego Novillo <dnovillo@google.com>
gcc/ChangeLog.lto
* tree.c (fld_worklist_push): Rename from PUSH.
Convert to static inline function.
Ignore language-specific nodes.
Update all users.
(find_decls_types_r): Do not traverse the subtrees of
language-specific nodes.
Do not traverse DECL_INITIAL for TYPE_DECLs.
* tree.h (is_lang_specific): New.
* langhooks.h (struct lang_hooks_for_decls): Remove
may_need_assembler_name_p. Update all users.
gcc/cp/ChangeLog.lto
* tree.c (cxx_may_need_assembler_name_p): Remove.
* cp-objcp-common.h (LANG_HOOKS_MAY_NEED_ASSEMBLER_NAME_P): Remove.
* cp-tree.h (cxx_may_need_assembler_name_p): Remove.
gcc/ChangeLog.lto
* lto-compress.c: Include diagnostic.h, errors.h.
Replace some calls to gcc_assert with internal_error.
* lto-cgraph.c: Tidy formatting.
Replace some calls to gcc_unreachable with
internal_error and an explanation.
* lto-streamer-out.c: Likewise.
* lto-wrapper.c: Fix copyright dates.
Include coretypes.h, tm.h and intl.h.
(fatal): Surround CMSGID with _().
(fatal_perror): Likewise.
(collect_wait): Make two calls to fatal().
(main): Call gcc_init_libintl.
* gcc/lto-streamer-in.c (lto_tag_check_set): New.
(lto_tag_check_range): New.
(lto_tag_check): New.
(input_string_internal): Call internal_error instead of gcc_assert.
(input_string): Likewise.
(lto_input_tree_ref): Call lto_tag_check_range.
(lto_input_eh_catch_list): Likewise.
(input_eh_lp): Likewise.
(input_eh_regions): Likewise.
(input_bb): Likewise.
(input_function): Likewise.
(input_gimple_stmt): Call internal_error instead of
gcc_unreachable.
(lto_read_body): Call lto_check_version.
(lto_materialize_tree): Call lto_tag_check.
(lto_input_tree_pointers): Call sorry instead of
gcc_unreachable.
(lto_get_pickled_tree): Call internal_error instead of
gcc_assert.
* lto-section-in.c (lto_input_1_unsigned): Call
internal_error instead of gcc_assert.
(lto_record_renamed_decl): Call XNEW instead of xmalloc.
* Makefile.in (lto-wrapper): Add intl.o and $(LIBS) to
the link command.
(lto-wrapper.o): Add dependency on intl.h.
(lto-compress.o): Add dependency on errors.h
(lto-streamer-out.o): Likewise.
(lto-streamer.o): Add dependency on TOPLEV_H.
(lto_get_section_name): Call internal_error instead of
gcc_unreachable.
* lto-opts.c (lto_read_file_options): Tidy formatting.
Call lto_check_version.
* lto-streamer.c: Include toplev.h
(lto_check_version): New.
* lto-streamer.h (lto_check_version): Declare.
(lto_is_streamable): Call is_lang_specific.
gcc/lto/ChangeLog
* lto.c (lto_read_decls): Add comment.
Call internal_error instead of gcc_assert.
(lto_resolution_read): Likewise.
(lto_add_all_inlinees): Tidy.
* Make-lang.in: Fix copyright boilerplate.
(lto.pdf): New.
(lto.install-pdf): New.
* lto-tree.h: Fix copyright boilerplate.
* lang-specs.h: Likewise.
Remove ".lto" entry from compilers fragment.
* lto-elf.c: Move inclusion of gelf.h after config.h.
Tidy formatting everywhere.
* lto.h: Fix copyright boilerplate.
Tidy formatting everywhere.
* common.c: Likewise.
* config-lang.in: Likewise.
* common.h: Likewise.
* lto-lang.c: Likewise.
gcc/testsuite/ChangeLog.lto
* gcc.dg/lto/lto.exp: Fix copyright years.
* g++.dg/lto/lto.exp: Likewise.
* lib/lto.exp: Likewise.
maintainer-scripts/ChangeLog.lto
* maintainer-scripts/gcc_release (JAVA_DIRS): Remove zlib.
Modified:
branches/lto/gcc/ChangeLog.lto
branches/lto/gcc/Makefile.in
branches/lto/gcc/cp/ChangeLog.lto
branches/lto/gcc/cp/cp-objcp-common.h
branches/lto/gcc/cp/cp-tree.h
branches/lto/gcc/cp/tree.c
branches/lto/gcc/langhooks-def.h
branches/lto/gcc/langhooks.h
branches/lto/gcc/lto-cgraph.c
branches/lto/gcc/lto-compress.c
branches/lto/gcc/lto-opts.c
branches/lto/gcc/lto-section-in.c
branches/lto/gcc/lto-streamer-in.c
branches/lto/gcc/lto-streamer-out.c
branches/lto/gcc/lto-streamer.c
branches/lto/gcc/lto-streamer.h
branches/lto/gcc/lto-wrapper.c
branches/lto/gcc/lto/ChangeLog
branches/lto/gcc/lto/Make-lang.in
branches/lto/gcc/lto/common.c
branches/lto/gcc/lto/common.h
branches/lto/gcc/lto/config-lang.in
branches/lto/gcc/lto/lang-specs.h
branches/lto/gcc/lto/lto-elf.c
branches/lto/gcc/lto/lto-lang.c
branches/lto/gcc/lto/lto-tree.h
branches/lto/gcc/lto/lto.c
branches/lto/gcc/lto/lto.h
branches/lto/gcc/testsuite/ChangeLog.lto
branches/lto/gcc/testsuite/g++.dg/lto/lto.exp
branches/lto/gcc/testsuite/gcc.dg/lto/lto.exp
branches/lto/gcc/testsuite/lib/lto.exp
branches/lto/gcc/tree.c
branches/lto/gcc/tree.h
branches/lto/maintainer-scripts/gcc_release