r151483 - in /branches/lto: ./ ChangeLog MAINTA...
dnovillo@gcc.gnu.org
dnovillo@gcc.gnu.org
Mon Sep 7 16:16:00 GMT 2009
Author: dnovillo
Date: Mon Sep 7 16:15:52 2009
New Revision: 151483
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151483
Log:
2009-09-07 Diego Novillo <dnovillo@google.com>
Mainline merge @151374.
* configure.ac (ACX_PKGVERSION): Update revision merge string.
* configure: Regenerate.
2009-09-07 Richard Guenther <rguenther@google.com>
* lto-streamer-in.c (lto_register_deferred_decls_in_symtab): New.
(deferred_global_decls): New file local.
(lto_register_var_decl_in_symtab): Remove arguments DATA_IN
and IX. Update all callers.
If DECL is TREE_PUBLIC, add it to deferred_global_decls.
(lto_register_function_decl_in_symtab): Remove argument IX.
If DECL is TREE_PUBLIC, add it to deferred_global_decls.
Update all callers.
* lto-streamer.h (lto_register_deferred_decls_in_symtab): Declare.
* lto.c (lto_read_decls): Call it after reading all decls.
2009-09-07 Diego Novillo <dnovillo@google.com>
* builtins.c (is_builtin_fn): New.
(is_builtin_name): Add comment.
* c-opts.c (c_common_post_options): Disable var tracking when
LTO is enabled.
* gimple.c (gimple_force_type_merge): Move below
lookup_type_pair and call it.
(gimple_decl_printable_name): Do not use DMGL_TYPES in call
to cplus_demangle_v3.
* lto-streamer-in.c (lto_materialize_tree): Do not read
expected tree node size.
(lto_input_ts_binfo_tree_pointers): Read BINFO_BASE_BINFOS as
a zero-terminated list.
* lto-streamer-out.c (lto_output_tree_ref): Do not expect
DECL_CONTEXT for CONST_DECLs to be NULL.
(lto_output_ts_binfo_tree_pointers): Output BINFO_BASE_BINFOS
as a zero-terminated list.
(lto_output_tree_header): Do not emit size of EXPR.
(write_symbol_vec): Call is_builtin_fn.
* lto-streamer.c (lto_orig_address_map, lto_orig_address_get,
lto_orig_address_remove): Enable only with LTO_STREAMER_DEBUG.
* lto-streamer.h (LTO_STREAMER_DEBUG): Add with comment and
undefined by default.
(lto_orig_address_map, lto_orig_address_get,
lto_orig_address_remove): Declare only with LTO_STREAMER_DEBUG.
* lto-symtab.c (lto_symtab_prevailing_decl): Call is_builtin_fn.
(lto_symtab_get_resolution): Likewise.
* tree-parloops.c (try_create_reduction_list): Fix for 32bit
hosts.
* tree.c (free_lang_data_in_binfo): Factor out of ...
(free_lang_data_in_type): ... here.
(need_assembler_name_p): Return false for non-public functions.
(free_lang_data_in_decl): Do not remove DECL_CONTEXT from
CONST_DECLs.
(find_decls_types_r): Walk TYPE_BINFO for records and unions.
* tree.h (RECORD_OR_UNION_TYPE_P): Declare. Update all users
of the predicate.
(AGGREGATE_TYPE_P): Call it.
(is_builtin_fn): Declare.
cp/ChangeLog.lto
2009-09-07 Diego Novillo <dnovillo@google.com>
* mangle.c (decl_is_template_id): Protect calls to
PRIMARY_TEMPLATE_P from IDENTIFIER_NODE and OVERLOAD.
(write_template_arg): Do not call write_template_arg_literal
if NODE is a CONST_DECL without a tcc_constant initializer.
Modified:
branches/lto/libstdc++-v3/ChangeLog
branches/lto/libstdc++-v3/configure
branches/lto/libstdc++-v3/configure.ac
branches/lto/libstdc++-v3/include/Makefile.am
branches/lto/libstdc++-v3/include/Makefile.in
branches/lto/libstdc++-v3/include/bits/stl_uninitialized.h
branches/lto/libstdc++-v3/testsuite/18_support/pthread_guard.cc (props changed)
branches/lto/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-1.cc (props changed)
branches/lto/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-2.cc (props changed)
branches/lto/libstdc++-v3/testsuite/20_util/ratio/cons/cons_overflow_neg.cc (props changed)
branches/lto/libstdc++-v3/testsuite/20_util/ratio/operations/ops_overflow_neg.cc (props changed)
branches/lto/libstdc++-v3/testsuite/20_util/unique_ptr/assign/assign_neg.cc (props changed)
branches/lto/libstdc++-v3/testsuite/21_strings/basic_string/pthread18185.cc (props changed)
branches/lto/libstdc++-v3/testsuite/21_strings/basic_string/pthread4.cc (props changed)
branches/lto/libstdc++-v3/testsuite/23_containers/list/pthread1.cc (props changed)
branches/lto/libstdc++-v3/testsuite/23_containers/list/pthread5.cc (props changed)
branches/lto/libstdc++-v3/testsuite/23_containers/map/pthread6.cc (props changed)
branches/lto/libstdc++-v3/testsuite/27_io/basic_fstream/cons/1.cc (props changed)
branches/lto/libstdc++-v3/testsuite/27_io/basic_fstream/open/char/1.cc (props changed)
branches/lto/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/char/1.cc (props changed)
branches/lto/libstdc++-v3/testsuite/27_io/basic_ofstream/pthread2.cc (props changed)
branches/lto/libstdc++-v3/testsuite/27_io/basic_ostringstream/pthread3.cc (props changed)
branches/lto/libstdc++-v3/testsuite/30_threads/this_thread/ (props changed)
branches/lto/libstdc++-v3/testsuite/ext/rope/pthread7-rope.cc (props changed)
branches/lto/libstdc++-v3/testsuite/lib/libstdc++.exp
Changes in other areas also in this revision:
Added:
branches/lto/gcc/testsuite/gcc.c-torture/compile/builtin_unreachable-1.c
- copied unchanged from r151374, trunk/gcc/testsuite/gcc.c-torture/compile/builtin_unreachable-1.c
branches/lto/gcc/testsuite/gcc.dg/20090902-1.c
- copied unchanged from r151374, trunk/gcc/testsuite/gcc.dg/20090902-1.c
branches/lto/gcc/testsuite/gcc.dg/builtin-object-size-9.c
- copied unchanged from r151374, trunk/gcc/testsuite/gcc.dg/builtin-object-size-9.c
branches/lto/gcc/testsuite/gcc.dg/tree-ssa/sra-8.c
- copied unchanged from r151374, trunk/gcc/testsuite/gcc.dg/tree-ssa/sra-8.c
branches/lto/gcc/testsuite/gnat.dg/misaligned_param.adb
- copied unchanged from r151374, trunk/gcc/testsuite/gnat.dg/misaligned_param.adb
branches/lto/gcc/testsuite/gnat.dg/misaligned_param_pkg.adb
- copied unchanged from r151374, trunk/gcc/testsuite/gnat.dg/misaligned_param_pkg.adb
branches/lto/gcc/testsuite/gnat.dg/misaligned_param_pkg.ads
- copied unchanged from r151374, trunk/gcc/testsuite/gnat.dg/misaligned_param_pkg.ads
branches/lto/libiberty/configure.com
- copied unchanged from r151374, trunk/libiberty/configure.com
Removed:
branches/lto/libiberty/vmsbuild.com
Modified:
branches/lto/ (props changed)
branches/lto/ChangeLog
branches/lto/MAINTAINERS
branches/lto/Makefile.in
branches/lto/Makefile.tpl
branches/lto/config/bootstrap-debug-big.mk
branches/lto/config/bootstrap-debug-lean.mk
branches/lto/configure
branches/lto/configure.ac
branches/lto/contrib/ChangeLog
branches/lto/contrib/regression/ChangeLog
branches/lto/contrib/regression/btest-gcc.sh
branches/lto/fixincludes/ChangeLog
branches/lto/fixincludes/fixincl.x
branches/lto/fixincludes/inclhack.def
branches/lto/fixincludes/tests/base/complex.h
branches/lto/gcc/ChangeLog
branches/lto/gcc/ChangeLog.lto
branches/lto/gcc/DATESTAMP
branches/lto/gcc/Makefile.in
branches/lto/gcc/ada/ChangeLog
branches/lto/gcc/ada/gcc-interface/decl.c
branches/lto/gcc/ada/gcc-interface/trans.c
branches/lto/gcc/ada/init.c
branches/lto/gcc/ada/tb-gcc.c
branches/lto/gcc/builtins.c
branches/lto/gcc/c-opts.c
branches/lto/gcc/caller-save.c
branches/lto/gcc/calls.c
branches/lto/gcc/cfgbuild.c
branches/lto/gcc/cfgexpand.c
branches/lto/gcc/cgraph.c
branches/lto/gcc/cgraph.h
branches/lto/gcc/cgraphunit.c
branches/lto/gcc/common.opt
branches/lto/gcc/configure
branches/lto/gcc/configure.ac
branches/lto/gcc/cp/ChangeLog
branches/lto/gcc/cp/ChangeLog-2007 (props changed)
branches/lto/gcc/cp/ChangeLog-2008 (props changed)
branches/lto/gcc/cp/ChangeLog.lto
branches/lto/gcc/cp/Make-lang.in
branches/lto/gcc/cp/class.c
branches/lto/gcc/cp/cp-lang.c
branches/lto/gcc/cp/cp-tree.h
branches/lto/gcc/cp/decl2.c
branches/lto/gcc/cp/error.c
branches/lto/gcc/cp/mangle.c
branches/lto/gcc/cp/method.c
branches/lto/gcc/cp/ptree.c
branches/lto/gcc/cp/semantics.c
branches/lto/gcc/cp/tree.c
branches/lto/gcc/diagnostic.c
branches/lto/gcc/diagnostic.h
branches/lto/gcc/doc/install.texi
branches/lto/gcc/doc/invoke.texi
branches/lto/gcc/emit-rtl.c
branches/lto/gcc/except.c
branches/lto/gcc/except.h
branches/lto/gcc/expr.c
branches/lto/gcc/expr.h
branches/lto/gcc/fortran/ChangeLog
branches/lto/gcc/gimple.c
branches/lto/gcc/gimple.h
branches/lto/gcc/haifa-sched.c
branches/lto/gcc/hard-reg-set.h
branches/lto/gcc/ira-costs.c
branches/lto/gcc/ira-int.h
branches/lto/gcc/ira-lives.c
branches/lto/gcc/ira.c
branches/lto/gcc/ira.h
branches/lto/gcc/java/ChangeLog
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-symtab.c
branches/lto/gcc/lto/lto.c
branches/lto/gcc/objc/ChangeLog
branches/lto/gcc/objcp/ChangeLog
branches/lto/gcc/passes.c
branches/lto/gcc/reginfo.c
branches/lto/gcc/reload.c
branches/lto/gcc/rtl.h
branches/lto/gcc/sched-deps.c
branches/lto/gcc/sched-int.h
branches/lto/gcc/sched-rgn.c
branches/lto/gcc/stmt.c
branches/lto/gcc/testsuite/ChangeLog
branches/lto/gcc/testsuite/c-c++-common/Wconversion-real.c (props changed)
branches/lto/gcc/testsuite/g++.dg/cpp0x/decltype-38655.C (props changed)
branches/lto/gcc/testsuite/g++.dg/ipa/iinline-1.C
branches/lto/gcc/testsuite/g++.dg/template/cond2.C
branches/lto/gcc/testsuite/g++.dg/template/pr35240.C
branches/lto/gcc/testsuite/g++.dg/tree-prof/inline_mismatch_args.C
branches/lto/gcc/testsuite/g++.dg/warn/unit-1.C
branches/lto/gcc/testsuite/gcc.dg/autopar/parallelization-1.c
branches/lto/gcc/testsuite/gcc.dg/autopar/pr39500-1.c
branches/lto/gcc/testsuite/gcc.dg/autopar/reduc-1.c
branches/lto/gcc/testsuite/gcc.dg/autopar/reduc-1char.c
branches/lto/gcc/testsuite/gcc.dg/autopar/reduc-1short.c
branches/lto/gcc/testsuite/gcc.dg/autopar/reduc-2.c
branches/lto/gcc/testsuite/gcc.dg/autopar/reduc-2char.c
branches/lto/gcc/testsuite/gcc.dg/autopar/reduc-2short.c
branches/lto/gcc/testsuite/gcc.dg/autopar/reduc-3.c
branches/lto/gcc/testsuite/gcc.dg/autopar/reduc-6.c
branches/lto/gcc/testsuite/gcc.dg/autopar/reduc-7.c
branches/lto/gcc/testsuite/gcc.dg/autopar/reduc-8.c
branches/lto/gcc/testsuite/gcc.dg/autopar/reduc-9.c
branches/lto/gcc/testsuite/gcc.dg/gomp/combined-1.c
branches/lto/gcc/testsuite/gcc.dg/memcpy-1.c
branches/lto/gcc/testsuite/gcc.dg/torture/20090618-1.c (props changed)
branches/lto/gcc/testsuite/gcc.dg/tree-ssa/inline-3.c
branches/lto/gcc/testsuite/gcc.dg/tree-ssa/local-pure-const.c
branches/lto/gcc/testsuite/gcc.dg/uninit-I.c
branches/lto/gcc/testsuite/gcc.target/x86_64/abi/callabi/ (props changed)
branches/lto/gcc/testsuite/gfortran.dg/allocatable_scalar_2.f90 (props changed)
branches/lto/gcc/testsuite/gfortran.dg/lto/pr40724_0.f (props changed)
branches/lto/gcc/testsuite/gfortran.dg/lto/pr40724_1.f (props changed)
branches/lto/gcc/testsuite/gnat.dg/slice7.adb
branches/lto/gcc/toplev.c
branches/lto/gcc/tree-object-size.c
branches/lto/gcc/tree-parloops.c
branches/lto/gcc/tree-pass.h
branches/lto/gcc/tree-sra.c
branches/lto/gcc/tree-ssa-alias.c
branches/lto/gcc/tree.c
branches/lto/gcc/tree.h
branches/lto/gcc/varasm.c
branches/lto/include/demangle.h
branches/lto/include/hashtab.h
branches/lto/include/splay-tree.h
branches/lto/libcpp/ChangeLog
branches/lto/libcpp/macro.c
branches/lto/libcpp/po/ChangeLog
branches/lto/libcpp/po/es.po
branches/lto/libgfortran/ChangeLog
branches/lto/libgfortran/intrinsics/iso_c_binding.c
branches/lto/libiberty/ChangeLog
branches/lto/libiberty/makefile.vms
branches/lto/libjava/classpath/ (props changed)
Propchange: branches/lto/libstdc++-v3/testsuite/18_support/pthread_guard.cc
('svn:mergeinfo' modified)
Propchange: branches/lto/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-1.cc
('svn:mergeinfo' modified)
Propchange: branches/lto/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-2.cc
('svn:mergeinfo' modified)
Propchange: branches/lto/libstdc++-v3/testsuite/20_util/ratio/cons/cons_overflow_neg.cc
('svn:mergeinfo' modified)
Propchange: branches/lto/libstdc++-v3/testsuite/20_util/ratio/operations/ops_overflow_neg.cc
('svn:mergeinfo' modified)
Propchange: branches/lto/libstdc++-v3/testsuite/20_util/unique_ptr/assign/assign_neg.cc
('svn:mergeinfo' modified)
Propchange: branches/lto/libstdc++-v3/testsuite/21_strings/basic_string/pthread18185.cc
('svn:mergeinfo' modified)
Propchange: branches/lto/libstdc++-v3/testsuite/21_strings/basic_string/pthread4.cc
('svn:mergeinfo' modified)
Propchange: branches/lto/libstdc++-v3/testsuite/23_containers/list/pthread1.cc
('svn:mergeinfo' modified)
Propchange: branches/lto/libstdc++-v3/testsuite/23_containers/list/pthread5.cc
('svn:mergeinfo' modified)
Propchange: branches/lto/libstdc++-v3/testsuite/23_containers/map/pthread6.cc
('svn:mergeinfo' modified)
Propchange: branches/lto/libstdc++-v3/testsuite/27_io/basic_fstream/cons/1.cc
('svn:mergeinfo' modified)
Propchange: branches/lto/libstdc++-v3/testsuite/27_io/basic_fstream/open/char/1.cc
('svn:mergeinfo' modified)
Propchange: branches/lto/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/char/1.cc
('svn:mergeinfo' modified)
Propchange: branches/lto/libstdc++-v3/testsuite/27_io/basic_ofstream/pthread2.cc
('svn:mergeinfo' modified)
Propchange: branches/lto/libstdc++-v3/testsuite/27_io/basic_ostringstream/pthread3.cc
('svn:mergeinfo' modified)
Propchange: branches/lto/libstdc++-v3/testsuite/30_threads/this_thread/
('svn:mergeinfo' modified)
Propchange: branches/lto/libstdc++-v3/testsuite/ext/rope/pthread7-rope.cc
('svn:mergeinfo' modified)
Propchange: branches/lto/
('svn:mergeinfo' modified)
Propchange: branches/lto/
('svnmerge-integrated' modified)
Propchange: branches/lto/gcc/cp/ChangeLog-2007
('svn:mergeinfo' modified)
Propchange: branches/lto/gcc/cp/ChangeLog-2008
('svn:mergeinfo' modified)
Propchange: branches/lto/gcc/testsuite/c-c++-common/Wconversion-real.c
('svn:mergeinfo' modified)
Propchange: branches/lto/gcc/testsuite/g++.dg/cpp0x/decltype-38655.C
('svn:mergeinfo' modified)
Propchange: branches/lto/gcc/testsuite/gcc.dg/torture/20090618-1.c
('svn:mergeinfo' modified)
Propchange: branches/lto/gcc/testsuite/gcc.target/x86_64/abi/callabi/
('svn:mergeinfo' modified)
Propchange: branches/lto/gcc/testsuite/gfortran.dg/allocatable_scalar_2.f90
('svn:mergeinfo' modified)
Propchange: branches/lto/gcc/testsuite/gfortran.dg/lto/pr40724_0.f
('svn:mergeinfo' modified)
Propchange: branches/lto/gcc/testsuite/gfortran.dg/lto/pr40724_1.f
('svn:mergeinfo' modified)
Propchange: branches/lto/libjava/classpath/
('svn:mergeinfo' modified)
More information about the Libstdc++-cvs
mailing list