OSDN Git Service

pf3gnuchains/gcc-fork.git
12 years ago * zh_CN.po: Update.
jsm28 [Wed, 16 Dec 2009 14:52:44 +0000 (14:52 +0000)]
* zh_CN.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155290 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * tree-chrec.c (chrec_convert_1): Only fold (T2)(t +- x) to
jakub [Wed, 16 Dec 2009 12:47:40 +0000 (12:47 +0000)]
* tree-chrec.c (chrec_convert_1): Only fold (T2)(t +- x) to
(T2)t +- (T2)x if only integer types are involved.

* gcc.c-torture/compile/20091215-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155288 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * tree-data-ref.h (dot_rdg): Remove prototype.
bje [Wed, 16 Dec 2009 12:32:14 +0000 (12:32 +0000)]
* tree-data-ref.h (dot_rdg): Remove prototype.
* tree-data-ref.c (dog_rdg_1, dot_rdg): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155287 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * gcc.dg/debug/tls-1.c: New test.
jakub [Wed, 16 Dec 2009 09:16:44 +0000 (09:16 +0000)]
* gcc.dg/debug/tls-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155286 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-15 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 16 Dec 2009 05:16:46 +0000 (05:16 +0000)]
2009-12-15  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/21772 part 1
* include/ext/throw_allocator.h: Rework.
(__gnu_cxx::throw_allocator): To...
(__gnu_cxx::throw_allocator_limit): ...this.
(__gnu_cxx::throw_allocator_random): ...and this.
(throw_value_base, throw_value_limit, throw_value_random): Add.
(condition_base, random_condition, limit_condition): Add.
(forced_exception_error): To...
(forced_error): ...this.
* testsuite/ext/throw_value: New.
* testsuite/ext/throw_value/cons.cc: New.
* testsuite/ext/throw_allocator/deallocate_global.cc: Adjust for
throw_allocator, forced_exception_error changes.
* testsuite/ext/throw_allocator/check_delete.cc: Same.
* testsuite/ext/throw_allocator/check_allocate_max_size.cc: Same.
* testsuite/ext/throw_allocator/check_deallocate_null.cc: Same.
* testsuite/ext/throw_allocator/explicit_instantiation.cc: Same.
* testsuite/ext/throw_allocator/check_new.cc: Same.
* testsuite/ext/throw_allocator/variadic_construct.cc: Same.
* testsuite/ext/throw_allocator/deallocate_local.cc: Same.
* testsuite/23_containers/list/modifiers/insert/25288.cc: Same.
* testsuite/23_containers/list/modifiers/insert/25288.h: Same.
* testsuite/util/regression/common_type.hpp: Same.
* testsuite/util/regression/rand/priority_queue/
container_rand_regression_test.tcc: Same.
* testsuite/util/regression/rand/assoc/
container_rand_regression_test.h: Same.
* testsuite/util/regression/rand/assoc/
container_rand_regression_test.tcc: Same.
* testsuite/util/regression/basic_type.hpp: Same.

* testsuite/ext/forced_exception_error/cons_virtual_derivation.cc: To...
* testsuite/ext/forced_error/cons_virtual_derivation.cc: ...this, same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155283 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * gfc-internals.texi, gfortran.texi, invoke.texi: Fix typos.
kazu [Wed, 16 Dec 2009 00:54:44 +0000 (00:54 +0000)]
* gfc-internals.texi, gfortran.texi, invoke.texi: Fix typos.
Follow spelling conventions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155282 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * doc/invoke.texi, doc/options.texi, doc/plugins.texi,
kazu [Wed, 16 Dec 2009 00:49:41 +0000 (00:49 +0000)]
* doc/invoke.texi, doc/options.texi, doc/plugins.texi,
doc/tm.texi: Fix typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155281 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Wed, 16 Dec 2009 00:16:44 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155280 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * testsuite/libffi.call/ffitest.h: Define PRIuPTR on PA HP-UX.
danglin [Tue, 15 Dec 2009 23:55:56 +0000 (23:55 +0000)]
* testsuite/libffi.call/ffitest.h: Define PRIuPTR on PA HP-UX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155277 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-15 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 15 Dec 2009 21:01:00 +0000 (21:01 +0000)]
2009-12-15  Paolo Carlini  <paolo.carlini@oracle.com>

* Fix typo in last ChangeLog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155272 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-15 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 15 Dec 2009 20:58:29 +0000 (20:58 +0000)]
2009-12-15  Paolo Carlini  <paolo.carlini@oracle.com>

PR libsdtc++/42381
* include/bits/stl_deque.h (_GLIBCXX_DEQUE_BUF_SIZE): Add.
(__deque_buf_size(size_t)): Use it.
* testsuite/23_containers/deque/requirements/dr438/
assign_neg.cc: Adjust dg-error line numbers.
* testsuite/23_containers/deque/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/
constructor_2_neg.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155271 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-15 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Tue, 15 Dec 2009 20:17:27 +0000 (20:17 +0000)]
2009-12-15  Jonathan Wakely  <jwakely.gcc@gmail.com>

* include/std/future (unique_future::get, promise::set_value): Remove
workaround for c++/34022.
(packaged_task::get_future, packaged_task::operator()): Use
__throw_bad_function_call.
* testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust.
* testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
* testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
* testsuite/30_threads/promise/cons/copy_neg.cc: Likewise.
* testsuite/30_threads/shared_future/cons/assign_neg.cc: Likewise.
* testsuite/30_threads/unique_future/cons/assign_neg.cc: Likewise.
* testsuite/30_threads/unique_future/cons/copy_neg.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155269 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/42358
jason [Tue, 15 Dec 2009 18:57:39 +0000 (18:57 +0000)]
PR c++/42358
* pt.c (iterative_hash_template_arg): Completely ignore
ARGUMENT_PACK_SELECT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155267 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/42373
jason [Tue, 15 Dec 2009 18:57:30 +0000 (18:57 +0000)]
PR c++/42373
* g++.dg/cpp0x/lambda/lambda-mangle.C: Adjust regexps for darwin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155266 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoReplace tabs with spaces in .texi files.
rwild [Tue, 15 Dec 2009 18:36:44 +0000 (18:36 +0000)]
Replace tabs with spaces in .texi files.

gcc/:
* doc/extend.texi (Function Attributes, Extended Asm):
Replace TABs with spaces.
* doc/md.texi (Standard Names): Likewise.
* doc/plugins.texi (Plugins): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155264 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoFix @itemx vs. @itemx
rwild [Tue, 15 Dec 2009 18:33:16 +0000 (18:33 +0000)]
Fix @itemx vs. @itemx

gcc/:
* doc/c-tree.texi (Expression trees): Use @itemx for all but
the first item for merged items.
* doc/extend.texi (Variable Attributes): Likewise.
* doc/install.texi (Configuration): Likewise.
* doc/invoke.texi (RS/6000 and PowerPC Options, RX Options):
Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155263 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-15 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Tue, 15 Dec 2009 17:42:47 +0000 (17:42 +0000)]
2009-12-15  Jonathan Wakely  <jwakely.gcc@gmail.com>

* include/std/functional (function::function): Move construct target.
(function::operator=): Use perfect forwarding for argument.
(function::operator()): Use new __throw_bad_function_call.
* include/bits/functexcept.h (__throw_bad_function_call): Declare.
* src/functexcept.cc (__throw_bad_function_call): Define.
* config/abi/pre/gnu.ver: Add new symbol.
* testsuite/20_util/function/cons/move_target.cc: New.
* testsuite/20_util/function/assign/move_target.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155261 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-15 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 15 Dec 2009 16:30:22 +0000 (16:30 +0000)]
2009-12-15  Richard Guenther  <rguenther@suse.de>

* tree.c (free_lang_data_in_binfo): Do not free BINFO_OFFSET
and BINFO_VPTR_FIELD.
(free_lang_data_in_type): Do not free TYPE_STUB_DECL if we
generate debug information.
(free_lang_data_in_decl): Do not free DECL_SIZE_UNIT,
DECL_SIZE, DECL_FIELD_OFFSET and DECL_FCONTEXT.
(free_lang_data): Do not disable debuginfo.
* lto-streamer-out.c (write_symbol_vec): Deal with
non-constant DECL_SIZE.
(pack_ts_base_value_fields): Write types with false
TREE_ASM_WRITTEN.
(lto_output_ts_type_tree_pointers): Stream TYPE_STUB_DECL.
* lto-streamer-in.c (lto_input_ts_type_tree_pointers): Stream
TYPE_STUB_DECL.
* dwarf2out.c (add_pure_or_virtual_attribute): Check for
DECL_CONTEXT.
(gen_type_die_for_member): Test for TYPE_STUB_DECL.
* opts.c (decode_options): Do not disable var-tracking for lto.
* doc/invoke.texi (-flto): Document -flto vs. -g experimental
status.
(-fwhopr): Document experimental status.

lto/
* lto.c (lto_fixup_field_decl): Fixup DECL_FIELD_OFFSET.
(lto_post_options): Do not disable debuginfo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155259 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-15 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 15 Dec 2009 16:11:32 +0000 (16:11 +0000)]
2009-12-15  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/42379
* testsuite/23_containers/set/operators/1_neg.cc: Fix dg-error strings.
* testsuite/23_containers/map/operators/1_neg.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155258 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * ada/acats/norun.lst: Sort.
ro [Tue, 15 Dec 2009 16:02:38 +0000 (16:02 +0000)]
* ada/acats/norun.lst: Sort.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155257 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR graphite/42185
aldyh [Tue, 15 Dec 2009 15:17:46 +0000 (15:17 +0000)]
   PR graphite/42185
        * graphite-sese-to-poly.c (is_reduction_operation_p): Assert that
        we are a GIMPLE_ASSIGN.  Do not calculate rhs code twice.
        (follow_ssa_with_commutative_ops): Return NULL on non assignment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155256 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/41183
jakub [Tue, 15 Dec 2009 15:13:08 +0000 (15:13 +0000)]
PR c++/41183
* cp-tree.h (current_class_ptr): Give NULL even when cfun
has NULL cfun->language.

* g++.dg/torture/pr41183.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155254 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/rs6000/rs6000.md (probe_stack): Use an enclosing SET.
ebotcazou [Tue, 15 Dec 2009 11:58:07 +0000 (11:58 +0000)]
* config/rs6000/rs6000.md (probe_stack): Use an enclosing SET.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155251 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-15 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 15 Dec 2009 11:32:49 +0000 (11:32 +0000)]
2009-12-15  Richard Guenther  <rguenther@suse.de>

* gimple.h (compare_field_offset): Declare.
* gimple.c (compare_field_offset): Export.
* lto-streamer-in.c (input_gimple_stmt): Use compare_field_offset.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155250 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-15 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 15 Dec 2009 11:28:10 +0000 (11:28 +0000)]
2009-12-15  Richard Guenther  <rguenther@suse.de>

* lto-cgraph.c (lto_output_node): Also stream the alias
for regular aliases.
(input_node): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155249 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-15 Tobias Burnus <burnus@net-b.de>
burnus [Tue, 15 Dec 2009 08:37:41 +0000 (08:37 +0000)]
2009-12-15  Tobias Burnus  <burnus@net-b.de>
            Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/41235
        * resolve.c (resolve_global_procedure): Add check for
        presence of an explicit interface for nonconstant,
        nonassumed character-length functions.
        (resolve_fl_procedure): Remove check for nonconstant
        character-length functions.

2009-12-15  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41235
        * auto_char_len_1.f90: New test.
        * auto_char_len_2.f90: New test.
        * auto_char_len_4.f90: Correct test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155247 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/42364
jason [Tue, 15 Dec 2009 02:11:54 +0000 (02:11 +0000)]
PR c++/42364
* pt.c (function_parameter_expanded_from_pack_p): Don't require
a pack to have a name.
(tsubst_decl): Do typedef magic after applying attributes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155246 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-15 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 15 Dec 2009 00:20:03 +0000 (00:20 +0000)]
2009-12-15  Paolo Bonzini  <bonzini@gnu.org>
    Shujing Zhao  <pearly.zhao@oracle.com>

* intl.c (get_spaces): New.
* intl.h (get_spaces): New.

cp:
2009-12-15  Paolo Bonzini  <bonzini@gnu.org>
    Shujing Zhao  <pearly.zhao@oracle.com>

* Makefile.in (cp/pt.o): Depend on intl.h
* call.c (print_z_candidates): Make loop more compact,
choose head string depending on number of candidates,
extract creation of spaces string to intl.c.
* pt.c (print_overloaded_functions): Replace with...
(print_candidates_1): ... this rewrite.
(print_candidates): Rewrite to call print_candidates_1.
(most_specialized_class): Make loop more compact,
choose head string depending on number of candidates,
and size indents depending on translations.

testsuite:
2009-12-15  Shujing Zhao  <pearly.zhao@oracle.com>

* g++.dg/other/error20.C: Adjust dg-message strings.
* g++.dg/other/error31.C: Likewise.
* g++.dg/rtti/typeid6.C: Likewise.
* g++.dg/ext/ms-1.C: Likewise.
* g++.dg/parse/error19.C: Likewise.
* g++.dg/parse/crash5.C: Likewise.
* g++.dg/cpp0x/explicit4.C: Likewise.
* g++.dg/template/ptrmem4.C: Likewise.
* g++.dg/template/crash37.C: Likewise.
* g++.dg/template/qualttp5.C: Likewise.
* g++.dg/template/local6.C: Likewise.
* g++.dg/template/instantiate5.C: Likewise.
* g++.old-deja/g++.brendan/overload1.C: Likewise.
* g++.old-deja/g++.brendan/cvt3.C: Likewise.
* g++.old-deja/g++.brendan/overload4.C: Likewise.
* g++.old-deja/g++.jason/conversion11.C: Likewise.
* g++.old-deja/g++.jason/scoping10.C: Likewise.
* g++.old-deja/g++.other/expr1.C: Likewise.
* g++.old-deja/g++.other/pmf3.C: Likewise.
* g++.old-deja/g++.other/crash24.C: Likewise.
* g++.old-deja/g++.niklas/t120.C: Likewise.
* g++.old-deja/g++.niklas/t121.C: Likewise.
* g++.old-deja/g++.law/operators9.C: Likewise.
* g++.old-deja/g++.law/arm9.C: Likewise.
* g++.old-deja/g++.law/enum4.C: Likewise.
* g++.old-deja/g++.law/arg11.C: Likewise.
* g++.old-deja/g++.benjamin/15800-1.C: Likewise.
* g++.old-deja/g++.mike/p2431.C: Likewise.
* g++.old-deja/g++.mike/p438.C: Likewise.
* g++.old-deja/g++.mike/p9068.C: Likewise.
* g++.old-deja/g++.mike/p11110.C: Likewise.
* g++.old-deja/g++.bugs/900330_02.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155245 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Tue, 15 Dec 2009 00:16:51 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155244 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-14 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 15 Dec 2009 00:07:52 +0000 (00:07 +0000)]
2009-12-14  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/25304, DR 865 [Ready]
* include/bits/stl_algobase.h (fill_n): Add comment about DR 865.
* include/bits/stl_algo.h (generate_n): Likewise.
* include/bits/algorithmfwd.h: Remove obsolete comment.
* doc/xml/manual/intro.xml: Add an entry for DR 865.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155241 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoRemove code to un-precious-ize CC, CXX in libjava and v3.
rwild [Mon, 14 Dec 2009 21:44:48 +0000 (21:44 +0000)]
Remove code to un-precious-ize CC, CXX in libjava and v3.

libjava/:
* configure.ac: Remove code to un-precious-ize CC, CXX,
CXXFLAGS, CFLAGS, LDFLAGS.
* configure: Regenerate.

libstdc++-v3/:
* configure.ac: Remove code to un-precious-ize CC, CXX,
CXXFLAGS, CFLAGS, LDFLAGS.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155240 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * g++.dg/other/i386-2.C: Add -mpopcnt -mabm -mlwp to dg-options.
uros [Mon, 14 Dec 2009 20:14:49 +0000 (20:14 +0000)]
* g++.dg/other/i386-2.C: Add -mpopcnt -mabm -mlwp to dg-options.
* g++.dg/other/i386-3.C: Ditto.
* g++.dg/other/i386-5.C: Remove duplicated test.
* g++.dg/other/i386-6.C: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155238 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR bootstrap/42369
jakub [Mon, 14 Dec 2009 19:59:00 +0000 (19:59 +0000)]
PR bootstrap/42369
* config/i386/i386.c (ix86_expand_special_args_builtin): Avoid
using switch with CODE_FOR_lwp_lwp* cases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155237 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/i386/i386-builtin-types.def (PVOID_FTYPE_VOID): Use
jakub [Mon, 14 Dec 2009 19:53:01 +0000 (19:53 +0000)]
* config/i386/i386-builtin-types.def (PVOID_FTYPE_VOID): Use
DEF_FUNCTION_TYPE (PVOID) instead of DEF_FUNCTION_TYPE (PVOID, VOID).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155236 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agogcc/fortran/:
dfranke [Mon, 14 Dec 2009 19:10:56 +0000 (19:10 +0000)]
gcc/fortran/:
2009-12-14  Daniel Franke  <franke.daniel@gmail.com>

PR fortran/42354
* expr.c (check_init_expr): Do not check for specification functions.

gcc/testsuite/:
2009-12-14  Daniel Franke  <franke.daniel@gmail.com>

PR fortran/42354
* gfortran.dg/iso_c_binding_init_expr.f03: New.
* gfortran.dg/intrinsic_std_1.f90: Fixed expected error message.
* gfortran.dg/function_kinds_5.f90: Likewise.
* gfortran.dg/selected_char_kind_3.f90: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155234 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * cfgexpand.c (expand_debug_expr) <INDIRECT_REF>: Remove overzealous
ebotcazou [Mon, 14 Dec 2009 18:27:58 +0000 (18:27 +0000)]
* cfgexpand.c (expand_debug_expr) <INDIRECT_REF>: Remove overzealous
assertion and useless code.
<TARGET_MEM_REF>: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155229 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * gfortran.dg/boz_15.f90: Fix typos.
uros [Mon, 14 Dec 2009 17:56:12 +0000 (17:56 +0000)]
* gfortran.dg/boz_15.f90: Fix typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155225 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoFix up ChangeLog entry.
jakub [Mon, 14 Dec 2009 17:30:48 +0000 (17:30 +0000)]
Fix up ChangeLog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155223 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR debug/41473
jakub [Mon, 14 Dec 2009 16:55:52 +0000 (16:55 +0000)]
PR debug/41473
* dwarf2out.c (AT_loc_list_ptr): New.
(resolve_addr): Remove unresolved attributes and loc_list entries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155222 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR debug/41473
jakub [Mon, 14 Dec 2009 16:55:12 +0000 (16:55 +0000)]
PR debug/41473
* dwarf2out.c (add_var_loc_to_decl): Don't drop initial empty
locations.
(new_loc_list): Drop gensym arg.  Move generation of ll_symbol...
(gen_llsym): ... here.  New function.
(add_loc_descr_to_loc_list): Removed.
(loc_descriptor): Infer mode from CONST_DOUBLEs and CONST_VECTORs.
(single_element_loc_list): Removed.
(dw_loc_list): Don't create entries without a location.  Don't
special-case the first node of the list, only single nodes.
(single_element_loc_list_p): Simplify.
(loc_list_from_tree): Don't use DECL_RTL if loc_list is nonempty.
(add_location_or_const_value_attribute): Test var loc for NULL.
(convert_cfa_to_fb_loc_list): Adjust calls to new new_loc_list,
call gen_llsym if needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155221 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * cgraph.h (cgraph_set_nothrow_flag, cgraph_set_readonly_flag,
jakub [Mon, 14 Dec 2009 16:53:57 +0000 (16:53 +0000)]
* cgraph.h (cgraph_set_nothrow_flag, cgraph_set_readonly_flag,
cgraph_set_pure_flag, cgraph_set_looping_const_or_pure_flag): New
prototypes.
* cgraph.c (cgraph_set_nothrow_flag, cgraph_set_readonly_flag,
cgraph_set_pure_flag, cgraph_set_looping_const_or_pure_flag): New
functions.
* except.h (set_nothrow_function_flags): Remove prototype.
* except.c (set_nothrow_function_flags): Use cgraph_set_nothrow_flag.
Make static.
* ipa-pure-const.c (propagate): Use cgraph_set_nothrow_flag,
cgraph_set_readonly_flag, cgraph_set_pure_flag
and cgraph_set_looping_const_or_pure_flag.
(local_pure_const): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155220 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR middle-end/42284
spop [Mon, 14 Dec 2009 16:51:43 +0000 (16:51 +0000)]
PR middle-end/42284
* testsuite/gcc.dg/graphite/pr42284.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155219 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoFix PR42284.
spop [Mon, 14 Dec 2009 16:49:47 +0000 (16:49 +0000)]
Fix PR42284.

2009-12-12  Sebastian Pop  <sebpop@gmail.com>

PR middle-end/42284
* graphite-sese-to-poly.c (rewrite_close_phi_out_of_ssa): Call
insert_out_of_ssa_copy_on_edge for anything else than SSA_NAMEs.
(detect_commutative_reduction_arg): Simplified.
(detect_commutative_reduction): Early return when the argument of
the close phi is not of an SSA_NAME.

* testsuite/gcc.dg/graphite/pr42284.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155218 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoFix LWP.
spop [Mon, 14 Dec 2009 16:45:11 +0000 (16:45 +0000)]
Fix LWP.

2009-12-14  Jakub Jelinek  <jakub@redhat.com>
    Sebastian Pop  <sebastian.pop@amd.com>

* config/i386/i386-builtin-types.def (PVOID): Declared.
(VOID_FTYPE_PVOID): Declared.
(PVOID_FTYPE_VOID): Declared.
(UCHAR_FTYPE_USHORT_UINT_USHORT): Removed.
(VOID_FTYPE_USHORT_UINT_USHORT): Removed.
* config/i386/i386.c (IX86_BUILTIN_LLWPCB16, IX86_BUILTIN_LLWPCB32,
IX86_BUILTIN_LLWPCB64, IX86_BUILTIN_SLWPCB16, IX86_BUILTIN_SLWPCB32,
IX86_BUILTIN_SLWPCB64, IX86_BUILTIN_LWPVAL16, IX86_BUILTIN_LWPINS16):
Removed.
(IX86_BUILTIN_LLWPCB, IX86_BUILTIN_SLWPCB): New.
(bdesc_special_args): Adjust declaration of __builtin_ia32_llwpcb,
__builtin_ia32_slwpcb, __builtin_ia32_lwpval32,
__builtin_ia32_lwpval64, __builtin_ia32_lwpins32, and
__builtin_ia32_lwpins64.
(ix86_expand_special_args_builtin): Handle VOID_FTYPE_PVOID.
Do not handle VOID_FTYPE_USHORT_UINT_USHORT and
UCHAR_FTYPE_USHORT_UINT_USHORT.  Warn when the third operand is
not an immediate.  Also handle builtin functions with 3 arguments.
(ix86_expand_builtin): Handle IX86_BUILTIN_LLWPCB and
IX86_BUILTIN_SLWPCB.
* config/i386/i386.md (UNSPEC_LLWP_INTRINSIC, UNSPEC_SLWP_INTRINSIC):
Renamed UNSPECV_LLWP_INTRINSIC and UNSPECV_SLWP_INTRINSIC.
(memory attribute): Handle lwp.
(lwp*): Rewrite all the insn patterns for LWP.
* config/i386/lwpintrin.h (__llwpcb16, __llwpcb32, __llwpcb64,
__slwpcb16, __slwpcb32, __slwpcb64, __lwpval16, __lwpins16): Removed.
(__llwpcb, __slwpcb): New.

testsuite/
* gcc.target/i386/sse-12.c: Add -mpopcnt and -mlwp.
* gcc.target/i386/sse-13.c: Same.
(__builtin_ia32_lwpval32, __builtin_ia32_lwpval64,
__builtin_ia32_lwpins32, __builtin_ia32_lwpins64): Added testcases.
* gcc.target/i386/sse-14.c: Add -mpopcnt -mabm -mlwp.
Added tests for __lwpval32, __lwpins32, __lwpval64, and __lwpins64.
* gcc.target/i386/sse-22.c: Added tests for popcnt, abm, and lwp.
* gcc.target/i386/sse-23.c: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155217 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-14 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 14 Dec 2009 15:01:23 +0000 (15:01 +0000)]
2009-12-14  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/23_containers/queue/requirements/
explicit_instantiation/1_c++0x.cc: New.
* testsuite/23_containers/priority_queue/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
* testsuite/23_containers/multimap/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
* testsuite/23_containers/bitset/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
* testsuite/23_containers/set/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
* testsuite/23_containers/vector/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
* testsuite/23_containers/deque/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
* testsuite/23_containers/stack/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
* testsuite/23_containers/multiset/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
* testsuite/23_containers/list/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
* testsuite/23_containers/map/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155215 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * zh_CN.po: Update.
jsm28 [Mon, 14 Dec 2009 12:50:14 +0000 (12:50 +0000)]
* zh_CN.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155213 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-14 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
rguenth [Mon, 14 Dec 2009 10:42:52 +0000 (10:42 +0000)]
2009-12-14  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>

* Make-lang.in ($(LTO_EXE)): Use $(LINKER).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155212 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-14 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
rguenth [Mon, 14 Dec 2009 10:29:52 +0000 (10:29 +0000)]
2009-12-14  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>

* dominance.c (set_immediate_dominator): Don't mark as inline.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155211 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-14 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 14 Dec 2009 10:26:09 +0000 (10:26 +0000)]
2009-12-14  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/stl_list.h (splice(iterator, list&), splice(iterator,
list&, iterator), splice(iterator, list&, iterator, iterator),
merge(list&), merge(list&, _StrictWeakOrdering)): Re-add in C++0x
mode for backward compatibility (see DR 1133).
(insert(iterator, size_type, const value_type&), insert(iterator,
_InputIterator, _InputIterator)): Adjust.
* include/bits/list.tcc (sort): Likewise.
* testsuite/23_containers/list/modifiers/1_c++0x.cc: Add.
* testsuite/23_containers/list/operations/2_c++0x.cc: Likewise.
* testsuite/23_containers/list/operations/3_c++0x.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/
assign_neg.cc: Adjust dg-error line numbers.
* testsuite/23_containers/list/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/
constructor_2_neg.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155210 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * doc/tm.texi (STACK_CHECK_PROTECT): Document alternate default.
ebotcazou [Mon, 14 Dec 2009 10:12:43 +0000 (10:12 +0000)]
* doc/tm.texi (STACK_CHECK_PROTECT): Document alternate default.
* doc/md.texi (check_stack): Clarify.
(probe_stack): Likewise.
* config/rs6000/rs6000.md (UNSPEC_PROBE_STACK): New constant.
(probe_stack): New insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155209 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * configure.ac (--with-specs): New option.
nathan [Mon, 14 Dec 2009 08:58:06 +0000 (08:58 +0000)]
* configure.ac (--with-specs): New option.
* configure: Regenerated.
* gcc.c (driver_self_specs): Include CONFIGURE_SPECS.
* Makefile.in (DRIVER_DEFINES): Add -DCONFIGURE_SPECS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155208 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * lto-streamer-in.c (lto_get_builtin_tree): fclass can only be a
bje [Mon, 14 Dec 2009 05:06:50 +0000 (05:06 +0000)]
* lto-streamer-in.c (lto_get_builtin_tree): fclass can only be a
BUILT_IN_NORMAL or BUILT_IN_MD.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155206 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * src/pa/ffi.c (ffi_closure_inner_pa32): Handle FFI_TYPE_LONGDOUBLE
danglin [Mon, 14 Dec 2009 02:42:18 +0000 (02:42 +0000)]
* src/pa/ffi.c (ffi_closure_inner_pa32): Handle FFI_TYPE_LONGDOUBLE
type on HP-UX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155205 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Mon, 14 Dec 2009 00:16:38 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155203 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-11 Paolo Carlini <paolo.carlini@oracle.com>
doko [Sun, 13 Dec 2009 23:45:12 +0000 (23:45 +0000)]
2009-12-11  Paolo Carlini  <paolo.carlini@oracle.com>
            Matthias Klose  <doko@ubuntu.com>

        PR libstdc++/40133
        * acinclude.m4 ([GLIBCXX_ENABLE_ATOMIC_BUILTINS]): On *-*-linux*,
        *-*-uclinux*, *-*-kfreebsd*-gnu | *-*-gnu* targets do link tests when
        possible.
        * configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155200 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * doc/tm.texi (STACK_CHECK_PROBE_LOAD): Delete.
ebotcazou [Sun, 13 Dec 2009 23:00:53 +0000 (23:00 +0000)]
* doc/tm.texi (STACK_CHECK_PROBE_LOAD): Delete.
* expr.h (STACK_CHECK_PROBE_LOAD): Likewise.
* explow.c (emit_stack_probe): Do not test STACK_CHECK_PROBE_LOAD.
* system.h (STACK_CHECK_PROBE_LOAD): Poison.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155199 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-09 Matthias Klose <doko@ubuntu.com>
doko [Sun, 13 Dec 2009 22:44:27 +0000 (22:44 +0000)]
2009-12-09  Matthias Klose  <doko@ubuntu.com>

        * include/private/gc_locks.h: For __ARM_EABI__ define
        GC_test_and_set  GC_clear to use the atomic builtins.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155198 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * fi.po, sv.po: Update.
jsm28 [Sun, 13 Dec 2009 22:36:09 +0000 (22:36 +0000)]
* fi.po, sv.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155197 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR tree-optimization/42027
matz [Sun, 13 Dec 2009 21:51:34 +0000 (21:51 +0000)]
PR tree-optimization/42027
* dojump.c (do_jump <TRUTH_AND_EXPR, TRUTH_OR_EXPR>): Go to
TRUTH_ANDIF_EXPR resp. TRUTH_ORIF_EXPR expander, instead of
falling through.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155196 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoPR target/23726
hutchinsonandy [Sun, 13 Dec 2009 21:03:41 +0000 (21:03 +0000)]
PR target/23726
* config/avr/predicates.md (pseudo_register_operand): New predicate for pseudos.
* config/avr/avr.md (divmodqi4): Replace with define_insn_and_split to allow div/mod optimization.
(udivmodqi4): Ditto.
(divmodhi4): Ditto.
(udivmodhi4): Ditto.
(divmodsi4): Ditto.
(udivmodsi4): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155195 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-13 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 13 Dec 2009 17:36:20 +0000 (17:36 +0000)]
2009-12-13  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42357
* tree-sra.c (sra_modify_assign): Do not tear apart struct copies.

* g++.dg/torture/pr42357.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155193 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoAdd missing ChangeLog entries.
hjl [Sat, 12 Dec 2009 01:34:14 +0000 (01:34 +0000)]
Add missing ChangeLog entries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155190 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-12 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 12 Dec 2009 01:12:55 +0000 (01:12 +0000)]
2009-12-12  Richard Guenther  <rguenther@suse.de>

* tree.c (need_assembler_name_p): Abstract decls do not need
an assembler name.
* dwarf2out.c (dwarf2out_abstract_function): Preserve
DECL_ABSTRACT properly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155189 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Sat, 12 Dec 2009 00:16:44 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155188 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agogcc/fortran/
janus [Fri, 11 Dec 2009 23:05:02 +0000 (23:05 +0000)]
gcc/fortran/
2009-12-11 Janus Weil  <janus@gcc.gnu.org>

PR fortran/42257
* module.c (write_dt_extensions): Check for accessibility.

gcc/testsuite/
2009-12-11  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42257
* gfortran.dg/extends_9.f03: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155183 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-11 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 11 Dec 2009 22:13:48 +0000 (22:13 +0000)]
2009-12-11  Richard Guenther  <rguenther@suse.de>

* lto-streamer-in.c (lto_input_tree_ref): Do not register
DEBUG_EXPR_DECLs with the varpool.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155182 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-11 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 11 Dec 2009 22:06:26 +0000 (22:06 +0000)]
2009-12-11  Paolo Carlini  <paolo.carlini@oracle.com>

* include/parallel/numeric: Trivial formatting changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155181 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-11 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 11 Dec 2009 22:04:56 +0000 (22:04 +0000)]
2009-12-11  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/42352
* include/bits/list.tcc (sort): Use _GLIBCXX_MOVE for list::splice
and list::merge calls.
* testsuite/23_containers/list/operations/42352.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155180 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-11 Daniel Franke <franke.daniel@gmail.com>
dfranke [Fri, 11 Dec 2009 21:08:39 +0000 (21:08 +0000)]
2009-12-11  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/40290
        * expr.c (gfc_type_convert_binary): Added warn-on-conversion flag,
        passed on to gfc_convert_type_warn() instead of gfc_convert_type();
        enabled warnings on all callers but ...
        * arith.c (eval_intrinsic): Disabled warnings on implicit type
        conversion.
        * gfortran.h gfc_type_convert_binary): Adjusted prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155179 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/sparc/linux-unwind.h (MD_FROB_UPDATE_CONTEXT, 64-bit): Define.
ebotcazou [Fri, 11 Dec 2009 21:06:18 +0000 (21:06 +0000)]
* config/sparc/linux-unwind.h (MD_FROB_UPDATE_CONTEXT, 64-bit): Define.
(sparc64_frob_update_context): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155178 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/42219
jason [Fri, 11 Dec 2009 21:03:55 +0000 (21:03 +0000)]
PR c++/42219
* typeck.c (error_type_p): New.
(ptr_reasonably_similar): Use it.
* cp-tree.h: Declare it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155177 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-11 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 11 Dec 2009 18:00:24 +0000 (18:00 +0000)]
2009-12-11  Richard Guenther  <rguenther@suse.de>

PR lto/41658
PR lto/41657
* lto-streamer-out.c (write_global_stream): Do not make decls
weak but resort to TREE_ASM_WRITTEN to avoid multiple definitions.
Make sure to mark all decls that we have written.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155174 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-11 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 11 Dec 2009 17:54:37 +0000 (17:54 +0000)]
2009-12-11  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/22634, DR 539 [Ready]
* include/bits/stl_numeric.h (adjacent_difference): Use std::move
at the end of the loop body, per the Ready resolution.
* include/std/numeric: Do not include unnecessarily <cstddef>.
* doc/xml/manual/intro.xml: Add an entry for DR 539.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155173 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-11 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 11 Dec 2009 17:23:09 +0000 (17:23 +0000)]
2009-12-11  Paolo Carlini  <paolo.carlini@oracle.com>

* doc/html/ext/lwg-active.html: Update to Revision R68.
* doc/html/ext/lwg-closed.html: Likewise.
* doc/html/ext/lwg-defects.html: Likewise.
* doc/xml/manual/intro.xml: Update status of issues 431, 630, and 696.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155170 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-11 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 11 Dec 2009 15:52:57 +0000 (15:52 +0000)]
2009-12-11  Richard Guenther  <rguenther@suse.de>

PR lto/42037
* lto.c (lto_resolution_read): Properly grow the vector.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155166 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-11 Sebastian Andrzej Siewior <bigeasy@linutronix.de>
mkuvyrkov [Fri, 11 Dec 2009 15:32:08 +0000 (15:32 +0000)]
2009-12-11  Sebastian Andrzej Siewior  <bigeasy@linutronix.de>

PR target/36047

* config/m68k/linux.h: Remove LABELNO from the mcount statement. It is
not used by glibc/uclibc and does not work with large binaries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155165 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-11 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 11 Dec 2009 14:49:35 +0000 (14:49 +0000)]
2009-12-11  Richard Guenther  <rguenther@suse.de>

PR lto/41915
* lto-lang.c (lto_init_options): Initialize flag_complex_method
to the C99 default.  Do not set flag_unit_at_a_time.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155164 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-11 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 11 Dec 2009 14:46:09 +0000 (14:46 +0000)]
2009-12-11  Richard Guenther  <rguenther@suse.de>

PR lto/41662
* lto-streamer-in.c (lto_init_eh): Move eh_initialized_p
handling here.
(input_eh_regions): Adjust.
(lto_input_ts_function_decl_tree_pointers): Initialize EH
if a non-NULL DECL_FUNCTION_PERSONALITY was read in.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155163 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agogcc/fortran/
janus [Fri, 11 Dec 2009 14:40:36 +0000 (14:40 +0000)]
gcc/fortran/
2009-12-11 Janus Weil  <janus@gcc.gnu.org>

PR fortran/42335
* symbol.c (select_type_insert_tmp): Add an extra check for
error recovery.

gcc/testsuite/
2009-12-11  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42335
* gfortran.dg/select_type_11.f03: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155162 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoIPA passes are bigger than other passes, so more memory needs to be allocated
baldrick [Fri, 11 Dec 2009 14:38:55 +0000 (14:38 +0000)]
IPA passes are bigger than other passes, so more memory needs to be allocated
for them (and more copied) in make_pass_instance.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155161 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoFix PR c++/42225
dodji [Fri, 11 Dec 2009 14:36:05 +0000 (14:36 +0000)]
Fix PR c++/42225

gcc/cp/ChangeLog:
PR c++/42225
* typeck.c (incompatible_dependent_typedefs_p): New function.
(structural_comptypes): Use it.
* cp-tree.h (cp_set_underlying_type): Declare ...
* tree.c (cp_set_underlying_type): ... new function.
* class.c (build_self_reference): Use cp_set_underlying_type
instead of set_underlying_type.
* decl2.c (grokfield): Likewise.
* name-lookup.c (pushdecl_maybe_friend): Likewise.

gcc/testsuite/ChangeLog:
PR c++/42225
* g++.dg/template/typedef24.C: New test.
* g++.dg/template/typedef25.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155160 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoFix PR c++/42251
dodji [Fri, 11 Dec 2009 12:25:19 +0000 (12:25 +0000)]
Fix PR c++/42251

gcc/cp/ChangeLog:
PR c++/42251
* pt.c (convert_template_argument): Avoid missing folding of SCOPE_REFs.

gcc/testsuite/ChangeLog:
PR c++/42251
* g++.dg/template/const3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155159 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * plugin.c (get_named_event_id): Fix hash table rebuild to include
amylaar [Fri, 11 Dec 2009 11:11:18 +0000 (11:11 +0000)]
    * plugin.c (get_named_event_id): Fix hash table rebuild to include
        dynamically allocated events.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155156 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-11 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 11 Dec 2009 10:56:17 +0000 (10:56 +0000)]
2009-12-11  Richard Guenther  <rguenther@suse.de>

PR lto/42320
* lto-symtab.c (lto_symtab_resolve_can_prevail_p): Properly
detect non-prevailing decls.

* g++.dg/lto/20091210-1_0.h: New testcase.
* g++.dg/lto/20091210-1_0.C: Likewise.
* g++.dg/lto/20091210-1_1.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155155 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * es.po: Update.
jsm28 [Fri, 11 Dec 2009 10:25:54 +0000 (10:25 +0000)]
* es.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155153 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * src/sparc/ffi.c (ffi_closure_sparc_inner_v9): Properly align 'long
ebotcazou [Fri, 11 Dec 2009 10:06:18 +0000 (10:06 +0000)]
* src/sparc/ffi.c (ffi_closure_sparc_inner_v9): Properly align 'long
double' arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155152 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * testsuite/libffi.call/ffitest.h: Define PRIuPTR on Solaris < 10.
ebotcazou [Fri, 11 Dec 2009 10:00:12 +0000 (10:00 +0000)]
* testsuite/libffi.call/ffitest.h: Define PRIuPTR on Solaris < 10.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155151 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoFix formatting
ebotcazou [Fri, 11 Dec 2009 08:52:17 +0000 (08:52 +0000)]
Fix formatting

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155150 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Fri, 11 Dec 2009 00:16:52 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155148 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * es.po: Update.
jsm28 [Thu, 10 Dec 2009 22:32:34 +0000 (22:32 +0000)]
* es.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155145 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * s-linux-sparc.ads: New file.
ebotcazou [Thu, 10 Dec 2009 22:26:20 +0000 (22:26 +0000)]
* s-linux-sparc.ads: New file.
* gcc-interface/Makefile.in (SPARC/Linux): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155144 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/42317
jakub [Thu, 10 Dec 2009 21:58:49 +0000 (21:58 +0000)]
PR c++/42317
* cgraph.h (struct cgraph_node): Add same_comdat_group field.
* cgraph.c (cgraph_remove_node): Unchain node from same_comdat_group
circular list.
(cgraph_node_can_be_local_p): Return false for DECL_COMDAT with
node->same_comdat_group.
* ipa.c (cgraph_remove_unreachable_nodes): For any reachable node
mark all its same_comdat_group nodes as also reachable.
(cgraph_externally_visible_p): Return true even if any of
same_comdat_group nodes has address taken.
* lto-cgraph.c (lto_output_node): Stream out same_comdat_group.
(output_cgraph): Ensure other same_comdat_group nodes are also
included.
(input_node): Stream in same_comdat_group.
(input_cgraph_1): Fix up same_comdat_group fields from references
to pointers.
* cgraphunit.c (cgraph_analyze_functions): Mark all other
same_comdat_group nodes as reachable.
(cgraph_mark_functions_to_output): For each node->process process
also other same_comdat_group nodes.
* ipa-inline.c (cgraph_clone_inlined_nodes): Don't reuse nodes
with same_comdat_group non-NULL.
(cgraph_mark_inline_edge): Likewise.

* decl2.c (cp_write_global_declarations): Clear DECL_EXTERNAL
also on all other functions in the same comdat group.
* optimize.c (maybe_clone_body): Also optimize virtual implicit
dtors.  For virtual comdat dtors tell cgraph that base and deleting
dtor are in the same comdat group.

* config/abi/pre/gnu.ver: Don't export certain base dtors that
weren't previously exported.

* g++.dg/opt/dtor2.C: New test.
* g++.dg/opt/dtor2.h: New file.
* g++.dg/opt/dtor2-aux.cc: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155143 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-10 Daniel Franke <franke.daniel@gmail.com>
dfranke [Thu, 10 Dec 2009 21:57:49 +0000 (21:57 +0000)]
2009-12-10  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/40287
        * iresolve.c (resolve_mask_arg): Disabled warning on conversion
        to LOGICAL(1).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155142 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-10 Daniel Franke <franke.daniel@gmail.com>
dfranke [Thu, 10 Dec 2009 21:03:40 +0000 (21:03 +0000)]
2009-12-10  Daniel Franke  <franke.daniel@gmail.com>

PR fortran/41369
* parse.c (match_deferred_characteristics): Removed check for empty
types in function return values.

2009-12-10  Daniel Franke  <franke.daniel@gmail.com>

PR fortran/41369
* gfortran.dg/func_derived_5.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155141 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR middle-end/42228
hubicka [Thu, 10 Dec 2009 20:50:47 +0000 (20:50 +0000)]
PR middle-end/42228
PR middle-end/42110
* cgraph.c (cgraph_create_edge_including_clones): Add old_stmt parameter;
update edge if it already exists.
(cgraph_remove_node): Handle correctly cases where we are removing node having
clones.
* cgraph.h (cgraph_create_edge_including_clones): Declare.
(verify_cgraph_node): Add missing error_found = true code.
(cgraph_materialize_all_clones): Remove call edges of dead nodes.
* ipa.c (cgraph_remove_unreachable_nodes): Correctly look for master
clone; fix double linked list removal.
* tree-inline.c (copy_bb): Update cgraph_create_edge_including_clones call;
fix frequency of newly created edge.

* g++.dg/torture/pr42110.C: new file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155140 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agogcc/fortran/:
dfranke [Thu, 10 Dec 2009 19:57:16 +0000 (19:57 +0000)]
gcc/fortran/:
2009-12-10  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/34402
        * expr.c (check_alloc_comp_init): New.
        (check_init_expr): Verify that allocatable components
        are not data-initalized.

gcc/testsuite/:
2009-12-10  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/34402
        * gfortran.dg/alloc_comp_init_expr.f03: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155138 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-10 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 10 Dec 2009 19:17:27 +0000 (19:17 +0000)]
2009-12-10  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/42261 (take 2)
* include/bits/basic_string.h (_S_construct_aux_2(size_type, _CharT,
const _Alloc&)): Add.
(_S_construct_aux(_Integer, _Integer, const _Alloc&, __true_type)):
Call it.
* include/ext/sso_string_base.h (_M_construct_aux_2(size_type,
_CharT): Add.
(_M_construct_aux(_Integer, _Integer, std::__true_type)): Call it.
* include/ext/rc_string_base.h (_S_construct_aux_2(size_type, _CharT,
const _Alloc&)): Add.
(_S_construct_aux(_Integer, _Integer, const _Alloc&, __true_type)):
Call it.
* config/abi/pre/gnu.ver: Export basic_string::_S_construct_aux_2.
* testsuite/21_strings/basic_string/cons/char/42261.cc: New.
* testsuite/21_strings/basic_string/cons/wchar_t/42261.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155137 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR rtl-opt/42216
bernds [Thu, 10 Dec 2009 18:03:05 +0000 (18:03 +0000)]
PR rtl-opt/42216
* regrename.c: Error out if MAX_RECOG_OPERANDS is larger than
HOST_BITS_PER_WIDE_INT.
(verify_reg_in_set): New function, broken out of verify_reg_tracked.
(verify_reg_tracked): Use it.
(scan_rtx_reg): When seeing a use involving a superset of the
registers in an existing chain, enlarge that chain.  Otherwise,
allow subsets and set fail_current_block for all other kinds of
overlap.
(hide_operands): New argument UNTRACKED_OPERANDS; callers changed.
Do not modify operands when the bit with the corresponding number
is set in that bitmap.
(build_def_use): When we see matching operands with different
modes, don't set fail_current_block, but keep track of such
operands in a bitmap if their registers aren't already tracked
in an open chain.  Pass this bitmap to all hide_operands calls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155134 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-10 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 10 Dec 2009 17:17:41 +0000 (17:17 +0000)]
2009-12-10  Paolo Carlini  <paolo.carlini@oracle.com>

Revert:
        2009-12-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/42261
* include/bits/basic_string.h (_S_construct_aux(_Integer, _Integer,
const _Alloc&, __true_type)): Cast the second argument to value_type.
* include/ext/sso_string_base.h (_M_construct_aux(_Integer, _Integer,
std::__true_type)): Likewise.
* include/ext/rc_string_base.h (_S_construct_aux(_Integer, _Integer,
const _Alloc&, std::__true_type)): Likewise.
* testsuite/21_strings/basic_string/cons/char/42261.cc: New.
* testsuite/21_strings/basic_string/cons/wchar_t/42261.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155132 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-10 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 10 Dec 2009 16:00:57 +0000 (16:00 +0000)]
2009-12-10  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42337
* tree-ssa-pre.c (seen_during_translate): Remove.
(phi_translate_1): Collapse into ...
(phi_translate): ... this.  Remove seen parameter and
adjust recursive calls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155131 138bc75d-0d04-0410-961f-82ee72b054a4